File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change
1
+ * Remove deprecated ` ActiveRecord::Base.allow_unsafe_raw_sql ` .
2
+
3
+ * Rafael Mendonça França*
4
+
1
5
* Fix regression bug that caused ignoring additional conditions for preloading has_many-through relations.
2
6
3
7
Fixes #43132
Original file line number Diff line number Diff line change @@ -229,14 +229,6 @@ def self.connection_classes # :nodoc:
229
229
klass
230
230
end
231
231
232
- def self . allow_unsafe_raw_sql # :nodoc:
233
- ActiveSupport ::Deprecation . warn ( "ActiveRecord::Base.allow_unsafe_raw_sql is deprecated and will be removed in Rails 7.0" )
234
- end
235
-
236
- def self . allow_unsafe_raw_sql = ( value ) # :nodoc:
237
- ActiveSupport ::Deprecation . warn ( "ActiveRecord::Base.allow_unsafe_raw_sql= is deprecated and will be removed in Rails 7.0" )
238
- end
239
-
240
232
self . default_connection_handler = ConnectionAdapters ::ConnectionHandler . new
241
233
self . default_role = ActiveRecord . writing_role
242
234
self . default_shard = :default
Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ Please refer to the [Changelog][active-record] for detailed changes.
100
100
101
101
* Remove deprecated ` database ` kwarg from ` connected_to ` .
102
102
103
+ * Remove deprecated ` ActiveRecord::Base.allow_unsafe_raw_sql ` .
104
+
103
105
### Deprecations
104
106
105
107
### Notable changes
You can’t perform that action at this time.
0 commit comments