Enforce Schema Rules plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://enforce-schema-rules.googlecode.com/svn/trunk/enforce_schema_rules/
Examples:
class Person < ActiveRecord::Base enforce_schema_rules :except => :dhh end class Book < ActiveRecord::Base enforce_column_limits :message => "exceeds the %d character limit", :on => :update enforce_unique_indexes enforce_not_null :exclusion_regexp => /$fk_/ end
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | (0 older versions) | Last edited by: hardway, 7 months ago

