Acts As Parent Of plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install git://github.com/airblade/acts_as_parent_of.git
This is lifted straight out of Advanced Rails Recipe 13, "Handle Multiple Models In One Form", by Ryan Bates.
For those using the recipe, you can save yourself some typing by adding the acts_as_parent_of declaration to your parent model. For example:
class Project < ActiveRecord::Base acts_as_parent_of :tasks end
You'll still need to write your views and controller as explained in the recipe.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago


