How do blockless filter expressions work?
Do I have to enable something somewhere?
The following has NEVER worked for me:
Model.filter(:row > 0).first
I always get: ArgumentError: comparison of Symbol with 0 failed
(I'm running in Ruby 1.9 if that matters.)
As such, I've always resorted to: Model.filter("row > ?", 0).first
It works, but it's not ideal.
--
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.