Use permitters instead. Easily testable.
On Mar 5, 2014 3:26 AM, "bertly_the_coder" <[email protected]> wrote:

> LOL! Thx Dave.
>
> Anyone else figured/figuring this out or found some documentation about it?
>
> On Tuesday, March 4, 2014 10:02:50 PM UTC+3, Dave Aronson wrote:
>>
>> On Tue, Mar 4, 2014 at 1:13 PM, bertly_the_coder <[email protected]>
>> wrote:
>>
>> > They all pass. That's the problem. Mass-assignment
>> > doesn't seem to get caught by the testing environment.
>>
>> Ah, yes, that is odd.  Maybe you could check out the tests from that
>> part of Rails, or of the strong_parameters gem, and see how they do
>> it.
>>
>> -Dave
>>
>> --
>> Dave Aronson, the T. Rex of Codosaurus LLC (www.codosaur.us);
>> FREELANCE SOFTWARE DEVELOPER, AVAILABLE AS OF MARCH 1st 2014;
>> creator of Pull Request Roulette, at PullRequestRoulette.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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/26c2181f-9cf3-4608-a002-d923746d591c%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/26c2181f-9cf3-4608-a002-d923746d591c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BsTbysPrb8NLAFbUBF2F6jYNG4sLA%2BQTfVjTUe-YaFdfh5T9g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to