× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Strong Parameters with Nested Attributes

<p>When using strong parameters with nested attributes be sure to specify the attribute as an array if necessary.</p> <p> </p> <p>permit(:nested_resource_attributes =&gt; [:id, {:resource_ids =&gt; []}])</p>

Get New Tutorials Delivered to Your Inbox

New tutorials will be sent to your Inbox once a week.

comments powered by Disqus