Ruby on Rails Wednesday, March 5, 2014

Thx Fredrick! You're a STAR!


On Wed, Mar 5, 2014 at 2:34 PM, Frederick Cheung <frederick.cheung@gmail.com> wrote:


On Tuesday, March 4, 2014 1:49:34 PM UTC, bertly_the_coder wrote:
Hi guys,

Has anyone figured out how to test strong parameters?

What have you got

config.action_controller.action_on_unpermitted_parameters 

set to?

I set it to :raise in test/development, so that submitting incorrect parameters will cause tests to fail


Fred 

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/j1a1NfKBbAg/unsubscribe.
To unsubscribe from this group and all its topics, 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/4d033b3e-fadf-4fa7-aeb1-0fdb5ed81c04%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Clarity is self-created. The universe is waiting on you, not the other way around - Me.

“Life isn't about finding yourself. Life is about creating yourself.” - G. Bernard Shaw

"Life is what happens while you are busy making plans" - John Lennon

NAMASTE!!!!! Yeah I said it!!

--
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/CAJhVprn158%2B-QGZNVZJrmjhRtXmgr1fQNmtCEkAEkz%3DyGbNHuA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment