aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
authorAndrés Mejía <andmej@gmail.com>2012-06-19 13:41:36 -0500
committerAndrés Mejía <andmej@gmail.com>2012-06-19 13:41:36 -0500
commit3b4d286cd9d2a6ebb69cb08933f13171aa14304c (patch)
tree76032dad281086f484c0bf87190a697de2a99372 /activerecord/lib/active_record/callbacks.rb
parent55f8b0d09e3963f8d662c79952a1f9c3a0a4e1f3 (diff)
downloadrails-3b4d286cd9d2a6ebb69cb08933f13171aa14304c.tar.gz
rails-3b4d286cd9d2a6ebb69cb08933f13171aa14304c.tar.bz2
rails-3b4d286cd9d2a6ebb69cb08933f13171aa14304c.zip
Typo in documentation.
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rw-r--r--activerecord/lib/active_record/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index a050fabf35..b5e3f2b4b5 100644
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -34,7 +34,7 @@ module ActiveRecord
# Examples:
# class CreditCard < ActiveRecord::Base
# # Strip everything but digits, so the user can specify "555 234 34" or
- # # "5552-3434" or both will mean "55523434"
+ # # "5552-3434" and both will mean "55523434"
# before_validation(:on => :create) do
# self.number = number.gsub(/[^0-9]/, "") if attribute_present?("number")
# end