So, after more trial and error, this is the portable version.
scope :past_due,
where('(requested_start_date < ?) AND (complete = ?)',
Date.today, true).
order('requested_start_date ASC')
I'd still like to understand *why* this is more portable, though, if
anybody knows the answer.
--
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.