aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-03 14:25:13 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-03 14:25:13 +0530
commitcaa8ab09f769b57bb06a333f5e81d6ad10be1495 (patch)
tree5eaad9b68dd330db3513bdf6d1a96c66bdee7e33 /activemodel/lib
parentb688f44390733cbe4b78373dec7c96e4cddec148 (diff)
downloadrails-caa8ab09f769b57bb06a333f5e81d6ad10be1495.tar.gz
rails-caa8ab09f769b57bb06a333f5e81d6ad10be1495.tar.bz2
rails-caa8ab09f769b57bb06a333f5e81d6ad10be1495.zip
remove stray (
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/validations/length.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/length.rb b/activemodel/lib/active_model/validations/length.rb
index 5f56f52d80..144e73904e 100644
--- a/activemodel/lib/active_model/validations/length.rb
+++ b/activemodel/lib/active_model/validations/length.rb
@@ -69,7 +69,7 @@ module ActiveModel
# validates_length_of :user_name, :within => 6..20, :too_long => "pick a shorter name", :too_short => "pick a longer name"
# validates_length_of :zip_code, :minimum => 5, :too_short => "please enter at least 5 characters"
# validates_length_of :smurf_leader, :is => 4, :message => "papa is spelled with 4 characters... don't play me."
- # validates_length_of :essay, :minimum => 100, :too_short => "Your essay must be at least 100 words."), :tokenizer => lambda {|str| str.scan(/\w+/) }
+ # validates_length_of :essay, :minimum => 100, :too_short => "Your essay must be at least 100 words.", :tokenizer => lambda { |str| str.scan(/\w+/) }
# end
#
# Configuration options: