Paweł Kondzior
Ruby Alchemyst · Not a member
Paweł Kondzior's latest activity
Sunday, November 16 2008
-
- Tag set to activerecord, patch, scope
I've added more tests for scopes
Saturday, November 15 2008
-
-
Paweł Kondzior created the ticket at 9:42 PMDefault model scoping patch. With this AR will be able to set default scoping for models. For example it will be easier to get default order.
-
Paweł Kondzior commented at 3:41 PMJacek: look at this ticket: http://dev.rubyonrails.org/ticke... and http://github.com/rubaidh/defaul...
I think too that it would be very cool to have default_s...
Tuesday, November 11 2008
-
Paweł Kondzior created the ticket at 4:16 AMLet's say we have this model:
class Client < ActiveRecord::Base has_and_belongs_to_many :pools, :class_name => 'Pool', :foreign_key => 'client_id',...
Wednesday, August 06 2008
-
Paweł Kondzior commented at 8:55 PMMethod
any?is not the same as!empty?[nil].any? will return false [nil].empty? will return false
But maybe here there is no case when AR can return [nil,nil...
Monday, August 04 2008
-
Paweł Kondzior commented at 9:48 AMmaybe first example doesn't show what benefits we have from this patch.
class Article belongs_to :author has_many :comments with_options(:include =... -