More Feedables in Computers / Internet  -  BlackBerry Feedables | Efficient Feeds | Flex Feeds | Gadgets | iPhone Feeds | RIA Feeds

91. 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





More Stories in Ruby Plus

    Other Feedables