File tree Expand file tree Collapse file tree 2 files changed +4
-19
lines changed
Expand file tree Collapse file tree 2 files changed +4
-19
lines changed Original file line number Diff line number Diff line change 1+ * Remove deprecated ` Reflection#source_macro ` .
2+
3+ * Rafael Mendonça França*
4+
15* Remove deprecated ` symbolized_base_class ` and ` symbolized_sti_name ` .
26
37 * Rafael Mendonça França*
Original file line number Diff line number Diff line change @@ -153,15 +153,6 @@ def join_keys(association_klass)
153153 JoinKeys . new ( foreign_key , active_record_primary_key )
154154 end
155155
156- def source_macro
157- ActiveSupport ::Deprecation . warn ( <<-MSG . squish )
158- ActiveRecord::Base.source_macro is deprecated and will be removed
159- without replacement.
160- MSG
161-
162- macro
163- end
164-
165156 def constraints
166157 scope_chain . flatten
167158 end
@@ -763,16 +754,6 @@ def join_keys(association_klass)
763754 source_reflection . join_keys ( association_klass )
764755 end
765756
766- # The macro used by the source association
767- def source_macro
768- ActiveSupport ::Deprecation . warn ( <<-MSG . squish )
769- ActiveRecord::Base.source_macro is deprecated and will be removed
770- without replacement.
771- MSG
772-
773- source_reflection . source_macro
774- end
775-
776757 # A through association is nested if there would be more than one join table
777758 def nested?
778759 chain . length > 2
You can’t perform that action at this time.
0 commit comments