Hi every one.
I have a model whit a field called time_at and i want to use it but
only for the hour property. This is what i'm trying to do:
Shift.find(:first,conditions=>["time_at.hour>?",timeusergiveme])

My field definition is

fields do
  time_at :datetime
  timestamps
end

Thank you.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to