search for: vegitarian

Displaying 1 result from an estimated 1 matches for "vegitarian".

Did you mean: vegetarian
2006 Aug 22
0
Re: Problem with find condition and habtm relationship.
...table of > Restaurants > and a table of Features which both have a habtm relationship with each > other using a jointable called features_restaurants which has the > fields feature_id and restaurant_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="che...