Conditional validations with ActiveRecord
One of the processes that Ruby on Rails makes very easy is validating models conditionally. The perfect example I have encountered is validating parts of a model during updates, e.g. updating a user’s password…
Post a comment