Hey all,

How can I search date with ferret? Do I need to submit them in a special format?
Right now I have in my Item model:

acts_as_ferret :fields => [:created_on]

with eg created_on = Thu May 11 17:00:00 -0500 2006

now when I do Item.find_by_content("created_on:<#{Time.now}")

I get nil, I'm probably doing something wrong.

Any idea how to fix it?

thanx in advance

Pat
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to