Association Proxy Method in Rails
In this episode you will learn how to use the <association_name>_ids=([array of ids]) association proxy method in your controllers. When you have has_many or has_and_belongs_to_many models you can use the association proxy method and simplify code in your controllers.
Based on the blog post params fu #4 by Stephen Chu
Signup now to download the episode for free.