Displaying 2 results from an estimated 2 matches for "recipe_name".
2010 May 13
1
Routing - newbie question about shorting the url
Hi
Right now I have my url showing as the following:
http://localhost/categories/italian/recipes/special-pasta-sauce
I would like it to be:
http://localhost/categories/italian/special-pasta-sauce
(or even http://localhost/italian/special-pasta-sauce)
my category model has_many :recipes and my recipes model
belongs_to :category (for the purposes of my test project a recipe
can only belong to one
2006 Jun 25
1
text_field_with_auto_complete nonsense (newbie question)
...lt;%= javascript_include_tag :defaults %></head>
<body><%= text_field_with_auto_complete :recipe, :name %></body>
</html>
The result, however, is an unresponsive site, with the following output
from LightHTTPd:
Processing SearchController#auto_complete_for_recipe_recipe_name (for
127.0.0.1 at 2006-06-25 18:56:27) [POST]
Session ID: 7e424000d0d368532915e019f3e2c27f
Parameters: {"action"=>"auto_complete_for_recipe_recipe_name",
"controller"=>"search", "recipe"=>{"recipe_name"=>"u"}}...