Ruby Plus #89: fields_for and params in Rails

Posted in Development, Frameworks on July 07, 2008


Ruby Plus #89: fields_for and params in Rails

In this episode you will learn how to put attributes into a different params key using fields_for if they belong to a different model than the one you are using in the form_for helper.

This technique is useful in real world projects. Based on the blog post params fu #2 by Stephen Chu.

Watch Video Watch Video on External Site

Tags: Ruby, Ruby On Rails, Frameworks, Ruby Plus, form_for, params