Permalink
Browse files

Change hashrocket spacing to match conventions.

  • Loading branch information...
1 parent f51cea6 commit f4a4d5fa1cdb20b4bb3af59f5c59a62f968a76ea @r00k r00k committed with fxn Jun 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/validations/length.rb
@@ -62,8 +62,8 @@ module HelperMethods
# 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"

0 comments on commit f4a4d5f

Please sign in to comment.