Ruby Plus #91: Association Proxy Method in Rails
  • Video is free for view
  • Video is available for download
View_video

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.



Tags: Ruby Plus, form_for, params, has many, hbtm, Ruby, Frameworks, Ruby On Rails

Level: any Date: July 07, 2008 Votes: 0 User: Dmytro Shteflyuk  Comments:
 
 

No Response(s) to this entry

Subscribe to comments with RSS.