From: Douglas Livingstone Date: 2005-09-05T21:37:40+09:00 Subject: Re: params v.s. @params in rails? 2005/9/4, David Heinemeier Hansson : > > The recommendation for using the params method, instead of accessing > > the @params instance variable directly, is that it�s more uniform to > > use the accessor method, since you can also do that from the view. > > Direct access to these instance variables is deprecated. The same goes > for cookies, session, request, response, and the other accessors. Use > the accessor instead of going directly, so it's request.get? instead > of @request.get?. > Is there a one-stop reference to the best practices for this sort of thing? Douglas