Displaying 1 result from an estimated 1 matches for "by_featur".
Did you mean:
by_feature
2006 Aug 22
0
Re: Problem with find condition and habtm relationship.
...taurant_id.
>
> So restaurants can belong to many different features such as
> "vegitarian menu", "child friendly" etc. In the view checkboxes are
> dynamically created for each feature using the following code:
>
> <%= start_form_tag :action => ''by_feature'' %>
> <% for feature in @features %>
> <input type="checkbox"
> id="<%= feature.id %>"
> name="feature_ids[]"
> value="<%= feature.id %>"
>> <%= feature.name %>...