Of course, all you have to do is ask the question to the group before
your Google-fu can kick in...

http://sequel.rubyforge.org/rdoc/files/doc/release_notes/2_10_0_txt.html

Per above, Sequel doesn't override methods defined by Ruby, so use
blocks to get around...

Michael

On Apr 21, 11:13 am, Michael Lang <[email protected]> wrote:
> 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