Re: using params[] in view or setting the value in controlle

I’d highly recommend divorcing the views from the params hash.

If you choose to change the param name, why should the view need to
be changed?

What if you decide that value needs to stored in the session rather
than passed as a param, for instance?


– Tom M., CTO
– Engine Y., Ruby on Rails Hosting
– Reliability, Ease of Use, Scalability
– (866) 518-YARD (9273)