On Jun 25, 9:28 pm, daniel_spaniel <[email protected]> wrote:
> Hi
>
> I noticed that the prepared statement support might be broken in ruby
> 1.9.1 .
This is expected at ruby 1.9 defines the inequality methods on
symbols, and Sequel does not override methods defined by ruby. To
work around it, you should use a virtual row block. See below:
> p Trip.filter( :who >= :$who).filter( :when <= :$when ).sql
Trip.filter{who >= :$who}.filter{when <= :$when}
Jeremy
--
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.