Validates Child Of plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://validateschild.rubyforge.org/svn
Example usage:
class Page < ActiveRecord::Base validates_child_of :book end
Configuration options:
message - A custom error message (default is: " must be the parent of %c")
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: Guest, 10 months ago

