I am having trouble using the .where() dataset method with a string 
argument.  Eventually I will have a much more complex condition to pass to 
where as a string but the following is sufficient to ask the question.

*When I try this:*

DisplayOptions.where("id = 0")

*I get:*

Sequel::Error: Invalid filter expression: "id = 0"

*But the following works fine:*

DisplayOptions.where(:id => 0)


Any idea what is going wrong?

Thanks,
-Charles

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to