diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index d1ffdd480dd9869140506a54428b7d52c2cf98d4..0f2da1d2870643cd6a790dd808de16f8d4c73aaa 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,7 @@ +* Remove deprecated `symbolized_base_class` and `symbolized_sti_name`. + + *Rafael Mendonça França* + * Remove deprecated `ActiveRecord::Base.disable_implicit_join_references=`. *Rafael Mendonça França* diff --git a/activerecord/lib/active_record/inheritance.rb b/activerecord/lib/active_record/inheritance.rb index b91e9ac13786e492963514822c4c9a7c209d44d0..fd1e22349b34a83430e19de8ff44320fec980caf 100644 --- a/activerecord/lib/active_record/inheritance.rb +++ b/activerecord/lib/active_record/inheritance.rb @@ -79,16 +79,6 @@ def finder_needs_type_condition? #:nodoc: :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. #