'validate_block', a gem to make ActiveRecord validations a little less bad
validate_block is a Ruby gem designed to make the ‘validates_*’ declarations in ActiveRecord modules a little less repetitive, DRYer a bit more scope-able.
validate_block is a Ruby gem designed to make the ‘validates_*’ declarations in ActiveRecord modules a little less repetitive, DRYer a bit more scope-able.
Comments
Curious of the motivation to create this over just using with_options?
http://geek.littleredstring.com/18-validations-with_options
Post a comment