Source: show | on GitHub
# File activemodel/test/models/automobile.rb, line 8 def validations validates_presence_of :make validates_length_of :model, :within => 2..10 end