I know I've seen this mentioned before, but I can't seem to find it
when I need it!

DB[:monthly_ranges].filter(:end_date <= Date.today).max(:end_date)

works fine in Ruby 1.8, but gives this error in 1.9:
==> in `<=': comparison of Symbol with Date failed (ArgumentError)

What part of the Ruby language specs changed to break this (i.e.
what's it called so I can google and read up on it more) and what's
the solution in this case?

Michael
-- 
http://codeconnoisseur.org

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-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/sequel-talk?hl=en.

Reply via email to