Elliot Winkler
Not a member
Elliot Winkler's latest activity
Monday, August 10 2009
Sunday, August 09 2009
-
Elliot Winkler commented at 11:34 PMThis is actually the exact same problem I posted way back in #1223, so I think that one can be closed.
Saturday, August 01 2009
-
Elliot Winkler commented at 9:21 PMI don't understand why the exclusive scope is needed. Shouldn't you be able to do Shirt.red.find_each and find_each then do the right thing?
Tuesday, July 28 2009
-
Elliot Winkler commented at 7:29 PM+1 for the idea. I wrote a version of the method a while back (except using inject + a hash instead of a select within a select as you've got). It does come in ...
Tuesday, July 21 2009
Monday, July 20 2009
fix_redundant_conditions.patch(2 kb)
-
Elliot Winkler created the ticket at 7:15 AMSetup:
class Shop < ActiveRecord::Base has_many :dogs end class Dog < ActiveRecord::Base named_scope :attractive, :conditions => { "color" => %w(yellow bla...
Wednesday, July 01 2009
-
Elliot Winkler commented at 10:49 PMThe rails-twelve-hour-time plugin linked to above also works in 2.3. You could probably start with that.
Monday, June 29 2009
-
Elliot Winkler commented at 5:11 AMI think
validates_format_of :permalink, :not => /admin/ireads a bit better. We ended up patching Rails a while back to support this, so I've prepped this into ...
Sunday, June 28 2009
-
- Title changed from Feature Request - add association option for find_with_associations to AR::Base.find_every should support :preload => false option
I've been wanting this too, and so I made a patch for it (pass
:preload => falseto disable preloading for a specific query). A test is included, but I wasn't q...