diff options
author | Ben Orenstein <ben.orenstein@gmail.com> | 2011-06-02 17:33:48 -0400 |
---|---|---|
committer | Ben Orenstein <ben.orenstein@gmail.com> | 2011-06-02 17:33:48 -0400 |
commit | 8e071bc0687466751903da83dfb22bdf678628d5 (patch) | |
tree | ed70c479b09e3782ddfe0e82e89cb982816d9c38 | |
parent | d0355ed5a9d137456d0c3f574894732fe66811e7 (diff) | |
download | rails-8e071bc0687466751903da83dfb22bdf678628d5.tar.gz rails-8e071bc0687466751903da83dfb22bdf678628d5.tar.bz2 rails-8e071bc0687466751903da83dfb22bdf678628d5.zip |
Change hashrocket spacing to match conventions.
-rw-r--r-- | activemodel/lib/active_model/validations/length.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations/length.rb b/activemodel/lib/active_model/validations/length.rb index 48d14978fa..5f56f52d80 100644 --- a/activemodel/lib/active_model/validations/length.rb +++ b/activemodel/lib/active_model/validations/length.rb @@ -62,8 +62,8 @@ module ActiveModel # Validates that the specified attribute matches the length restrictions supplied. Only one option can be used at a time: # # class Person < ActiveRecord::Base - # validates_length_of :first_name, :maximum=>30 - # validates_length_of :last_name, :maximum=>30, :message=>"less than 30 if you don't mind" + # validates_length_of :first_name, :maximum => 30 + # validates_length_of :last_name, :maximum => 30, :message => "less than 30 if you don't mind" # validates_length_of :fax, :in => 7..32, :allow_nil => true # validates_length_of :phone, :in => 7..32, :allow_blank => true # validates_length_of :user_name, :within => 6..20, :too_long => "pick a shorter name", :too_short => "pick a longer name" |