Älphä Blüë wrote:
> And then defined that in a per search scope:
>
> named_scope :compiled_week_one, lambda { { :conditions => ['compiled_on
>> ? and compiled_on < ?', WEEK_TWO_START, WEEK_TWO_END] } }
>
Actually reads WEEK_ONE_START and WEEK_ONE_END..
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---