Ruby on Rails Sunday, February 2, 2014

On Sun, Feb 2, 2014 at 5:02 AM, Colin Law <clanlaw@gmail.com> wrote:

> That is likely because it should be params not @params.

But:

> On 2 February 2014 06:22, Bizt <martyn.biz@gmail.com> wrote:
....
>> This is what I've got:
>>
>> @params = params

so @params should work the same as params. Not sure why he's
bothering to copy it into an @-var, tho; maybe he wants access to it
in a view....

-Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC (codosaur.us),
freelance software developer, and creator of these sites:
PullRequestRoulette.com, blog.codosaur.us, & Dare2XL.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQigfmx%2BaM9V7nLmQ7ib%3Du7Ex90aP7TaJ08-7GdfTQ0PSQA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment