Displaying 2 results from an estimated 2 matches for "index_url".
Did you mean:
index_nr
2008 Jun 12
3
Upgrading to 2.1 breaks my named routes
I just upgraded to 2.1 and attempted to log in to my application and
when this line is reached in my login action:
redirect_to(index_url)
I get the error
"wrong number of arguments (0 for 1)" [stack trace below].
Here''s my route:
map.index ''index'', :controller => ''e_simply'', :action => ''index''
I found this very lengthy discussion on lighthouse a...
2006 May 12
4
POST vs GET
I read in the Agile Rails book that I should avoid GETs for
destructive actions. I notice that on 37signals'' Backpack web site,
deleting an item in a list is accomplished with a simple click on a
picture of a trash can. Is this a violation of the POST/GET rule
noted above, or is there some way to make a clickable link send a
POST?
Ben