Acts as Immutable model plugin for ActiveRecord
(github repo). A Rails plugin that will ensure an ActiveRecord object is immutable once saved. Optionally, you can specify attributes to be mutable if the object is in a particular state; pass a block, if it evaluates to true the attribute will be mutable.
Post a comment