I have no constancy! I have no constancy!
— Theodore Roosevelt
Take it easy, Mr President.
Validates Constancy is a plugin that extends the validations provided by Ruby on Rails’s ORM library, Active Record.
Validations prevent you from saving an Active Record model object whose state is invalid. This validation, validates_constancy_of, marks as invalid a model object whose constant attribute(s) are different from their values in the database. This allows you to ensure that one or more attributes never change after an object is saved for the first time.
See the README for instructions on how to:
If you like this plugin please:
Thanks!
— /\/. _/.
nils@alumni.rice.edu