aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/inheritance.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2014-11-04 13:20:22 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2014-11-04 13:20:22 +0000
commit9887a2cfe52f30d4a91e0d16fe57ecf96537b98c (patch)
treeeab3c5a32eebd6e913b3960ac8b9c7f927264c56 /activerecord/lib/active_record/inheritance.rb
parent70177618afd704884e669454173456e41411f136 (diff)
parentb670fadb978c8a12c3414ed842cd49e4fde2cec0 (diff)
downloadrails-9887a2cfe52f30d4a91e0d16fe57ecf96537b98c.tar.gz
rails-9887a2cfe52f30d4a91e0d16fe57ecf96537b98c.tar.bz2
rails-9887a2cfe52f30d4a91e0d16fe57ecf96537b98c.zip
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activerecord/lib/active_record/inheritance.rb')
-rw-r--r--activerecord/lib/active_record/inheritance.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/inheritance.rb b/activerecord/lib/active_record/inheritance.rb
index 251d682a02..f58145ab05 100644
--- a/activerecord/lib/active_record/inheritance.rb
+++ b/activerecord/lib/active_record/inheritance.rb
@@ -80,12 +80,12 @@ module ActiveRecord
end
def symbolized_base_class
- ActiveSupport::Deprecation.warn("ActiveRecord::Base.symbolized_base_class is deprecated and will be removed without replacement.")
+ ActiveSupport::Deprecation.warn('`ActiveRecord::Base.symbolized_base_class` is deprecated and will be removed without replacement.')
@symbolized_base_class ||= base_class.to_s.to_sym
end
def symbolized_sti_name
- ActiveSupport::Deprecation.warn("ActiveRecord::Base.symbolized_sti_name is deprecated and will be removed without replacement.")
+ ActiveSupport::Deprecation.warn('`ActiveRecord::Base.symbolized_sti_name` is deprecated and will be removed without replacement.')
@symbolized_sti_name ||= sti_name.present? ? sti_name.to_sym : symbolized_base_class
end