diff options
Diffstat (limited to 'activemodel/test/models/automobile.rb')
-rw-r--r-- | activemodel/test/models/automobile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/test/models/automobile.rb b/activemodel/test/models/automobile.rb index 021ea61c80..ece644c40c 100644 --- a/activemodel/test/models/automobile.rb +++ b/activemodel/test/models/automobile.rb @@ -7,6 +7,6 @@ class Automobile def validations validates_presence_of :make - validates_length_of :model, :within => 2..10 + validates_length_of :model, within: 2..10 end -end
\ No newline at end of file +end |