diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 01:03:53 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 11:58:44 -0300 |
commit | 9013e28e52eba3a6ffcede26f85df48d264b8951 (patch) | |
tree | 3d1187f7fc670acfe9bc20653caa3e4e4d19eef7 /activerecord/lib/active_record | |
parent | c8e6a76e5059e39a20ee7a7b1b4ddd22af571989 (diff) | |
download | rails-9013e28e52eba3a6ffcede26f85df48d264b8951.tar.gz rails-9013e28e52eba3a6ffcede26f85df48d264b8951.tar.bz2 rails-9013e28e52eba3a6ffcede26f85df48d264b8951.zip |
Remove deprecated `symbolized_base_class` and `symbolized_sti_name`
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/inheritance.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/lib/active_record/inheritance.rb b/activerecord/lib/active_record/inheritance.rb index b91e9ac137..fd1e22349b 100644 --- a/activerecord/lib/active_record/inheritance.rb +++ b/activerecord/lib/active_record/inheritance.rb @@ -79,16 +79,6 @@ module ActiveRecord :true == (@finder_needs_type_condition ||= descends_from_active_record? ? :false : :true) end - def symbolized_base_class - 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.') - @symbolized_sti_name ||= sti_name.present? ? sti_name.to_sym : symbolized_base_class - end - # Returns the class descending directly from ActiveRecord::Base, or # an abstract class, if any, in the inheritance hierarchy. # |