search for: hmlt

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

Did you mean: halt
2008 Jun 24
0
creating a list view in rails 2
...ame as index view except it offers a way to filter results by category. RoR 2 doesn''t seem to be creating such a view. So how do I get this behaviour in rails 2? I tried creating a list method (exactly same as in the tutorial) in the recipes controller and calling that from the application.hmlt.erb file using: <%= link_to "Show all recipes", :controller => "recipes", :action => "list" %> but that crashes while calling the show method. why? isn''t it supposed to be calling the list method instead? alternatively I tried modifying the index m...