'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.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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