aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/errors.rb
diff options
context:
space:
mode:
authorAvnerCohen <israbirding@gmail.com>2012-11-10 17:16:21 +0200
committerAvnerCohen <israbirding@gmail.com>2012-11-10 17:16:21 +0200
commit890da5149df19c54124929ff8b533014b6b46e69 (patch)
tree6a7f19b90ab939482e94b5af5a32d76057a2e708 /activerecord/lib/active_record/errors.rb
parentdcf401e3bc7163aefab856abe7f1d238025c4ef9 (diff)
downloadrails-890da5149df19c54124929ff8b533014b6b46e69.tar.gz
rails-890da5149df19c54124929ff8b533014b6b46e69.tar.bz2
rails-890da5149df19c54124929ff8b533014b6b46e69.zip
1.9 Syntax related changes
Diffstat (limited to 'activerecord/lib/active_record/errors.rb')
-rw-r--r--activerecord/lib/active_record/errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/errors.rb b/activerecord/lib/active_record/errors.rb
index 04c0fbfe70..c615d59725 100644
--- a/activerecord/lib/active_record/errors.rb
+++ b/activerecord/lib/active_record/errors.rb
@@ -22,7 +22,7 @@ module ActiveRecord
# end
#
# # Comments are not patches, this assignment raises AssociationTypeMismatch.
- # @ticket.patches << Comment.new(:content => "Please attach tests to your patch.")
+ # @ticket.patches << Comment.new(content: "Please attach tests to your patch.")
class AssociationTypeMismatch < ActiveRecordError
end