Hi,
I have a such code:
    @posts = Post.where(:created_at <=
Time.now).reverse_order(:created_at).paginate(1, 10)

Then I run it got this error:
    ArgumentError: comparison of Symbol with Time failed

What wrong with it?  I going to find posts created earlier then date
specified.

-- 
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