I am fairly new to Hobo, having  just become the owner of a hobo app
after a co-worker left.  I am needing to add a filter  based on year.
Having added the drop down menu, I have a parameter called 'year' and
now I need to filter on it.  The current code in the controller looks
like this:

hobo_index Placement.apply_scopes(
:search => [params[:search], :name],
:ordered_by_start_date => true,
:placement_type_is => params[:placement_type])

a Placement object has a field called 'start_date' which we will be
using to decide the year.

Any thoughts anybody has on this would be most appreciated.  Thanks.

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