I managed to make it work by having this in my model: named_scope 
:available_now, lambda { |*args |{:conditions => [ "available < ?", 
Date.today]}}
In controller I have:  hobo_index 
Engineer.available_now.status_is_not("left").apply_scopes(.....)

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/hobousers/-/dG8u1GLKqZcJ.
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