aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-03-31 08:21:34 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-03-31 08:21:34 +0900
commit0c3391a09fde4358d6ebf0c3a2ed9fc049044acc (patch)
treeb739398a3701a0beb825d9e5a87b0c78ff577e01 /activerecord/lib/active_record/attribute_methods
parent7ccb15728be9ae230ca536d6edc190850a91c17f (diff)
downloadrails-0c3391a09fde4358d6ebf0c3a2ed9fc049044acc.tar.gz
rails-0c3391a09fde4358d6ebf0c3a2ed9fc049044acc.tar.bz2
rails-0c3391a09fde4358d6ebf0c3a2ed9fc049044acc.zip
Add missing backtick to deprecation message
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
-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