aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/length.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-06-22 15:41:02 +0200
committerYves Senn <yves.senn@gmail.com>2015-06-22 15:45:09 +0200
commit006a4d787e3fad4d142605d49ba4541992c6465b (patch)
tree9af15f5b1a37b183b001eb707323a3afed7df751 /activerecord/lib/active_record/validations/length.rb
parent792de3f1ed5358056f75821d39b73ceda272fb03 (diff)
downloadrails-006a4d787e3fad4d142605d49ba4541992c6465b.tar.gz
rails-006a4d787e3fad4d142605d49ba4541992c6465b.tar.bz2
rails-006a4d787e3fad4d142605d49ba4541992c6465b.zip
refactor, don't duplicate presence validator logic.
This is a small refactoring that simplifies the Active Record specific lenght validator.
Diffstat (limited to 'activerecord/lib/active_record/validations/length.rb')
0 files changed, 0 insertions, 0 deletions