This project adds a new validation to ActiveRecord, the object-relational mapping library of Ruby on Rails. This validation is validates_constancy_of. It permits you to protect model attributes from being changed after a record is created.
ActiveRecord model classes can be attributed validates_constancy_of :attribute_name_here with various options.