Skip to content

Commit 9013e28

Browse files
committed
Remove deprecated symbolized_base_class and symbolized_sti_name
1 parent c8e6a76 commit 9013e28

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

activerecord/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove deprecated `symbolized_base_class` and `symbolized_sti_name`.
2+
3+
*Rafael Mendonça França*
4+
15
* Remove deprecated `ActiveRecord::Base.disable_implicit_join_references=`.
26

37
*Rafael Mendonça França*

activerecord/lib/active_record/inheritance.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,6 @@ def finder_needs_type_condition? #:nodoc:
7979
:true == (@finder_needs_type_condition ||= descends_from_active_record? ? :false : :true)
8080
end
8181

82-
def symbolized_base_class
83-
ActiveSupport::Deprecation.warn('`ActiveRecord::Base.symbolized_base_class` is deprecated and will be removed without replacement.')
84-
@symbolized_base_class ||= base_class.to_s.to_sym
85-
end
86-
87-
def symbolized_sti_name
88-
ActiveSupport::Deprecation.warn('`ActiveRecord::Base.symbolized_sti_name` is deprecated and will be removed without replacement.')
89-
@symbolized_sti_name ||= sti_name.present? ? sti_name.to_sym : symbolized_base_class
90-
end
91-
9282
# Returns the class descending directly from ActiveRecord::Base, or
9383
# an abstract class, if any, in the inheritance hierarchy.
9484
#

0 commit comments

Comments
 (0)