aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/dirty.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2017-03-31 08:11:08 +0200
committerGitHub <noreply@github.com>2017-03-31 08:11:08 +0200
commit6efd4ab6e1195e06221bca3ae9bdb56adb634be7 (patch)
treeb739398a3701a0beb825d9e5a87b0c78ff577e01 /activerecord/lib/active_record/attribute_methods/dirty.rb
parent7ccb15728be9ae230ca536d6edc190850a91c17f (diff)
parent0c3391a09fde4358d6ebf0c3a2ed9fc049044acc (diff)
downloadrails-6efd4ab6e1195e06221bca3ae9bdb56adb634be7.tar.gz
rails-6efd4ab6e1195e06221bca3ae9bdb56adb634be7.tar.bz2
rails-6efd4ab6e1195e06221bca3ae9bdb56adb634be7.zip
Merge pull request #28620 from y-yagi/add_missing_backtick_to_deprecation_message
Add missing backtick to deprecation message
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods/dirty.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods/dirty.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb
index 6aa414ba6b..bd5003d63a 100644
--- a/activerecord/lib/active_record/attribute_methods/dirty.rb
+++ b/activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -282,7 +282,7 @@ module ActiveRecord
#{attr_name} is not an attribute known to Active Record.
This behavior is deprecated and will be removed in the next
version of Rails. If you'd like #{attr_name} to be managed
- by Active Record, add `attribute :#{attr_name} to your class.
+ by Active Record, add `attribute :#{attr_name}` to your class.
EOW
mutations_from_database.deprecated_force_change(attr_name)
end