File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
lib/rails/commands/dbconsole Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ Please refer to the [Changelog][railties] for detailed changes.
32
32
33
33
* Remove deprecated ` Rails.config.enable_dependency_loading ` .
34
34
35
+ * Remove deprecated ` find_cmd_and_exec ` console helper.
36
+
35
37
### Deprecations
36
38
37
39
### Notable changes
Original file line number Diff line number Diff line change
1
+ * Remove deprecated ` find_cmd_and_exec ` console helper.
2
+
3
+ * Rafael Mendonça França*
4
+
1
5
* Remove deprecated ` Rails.config.enable_dependency_loading ` .
2
6
3
7
* Rafael Mendonça França*
Original file line number Diff line number Diff line change @@ -61,14 +61,6 @@ def configurations # :doc:
61
61
ActiveRecord ::Base . configurations = Rails . application . config . database_configuration
62
62
ActiveRecord ::Base . configurations
63
63
end
64
-
65
- def find_cmd_and_exec ( commands , *args ) # :doc:
66
- Rails . deprecator . warn ( <<~MSG . squish )
67
- Rails::DBConsole#find_cmd_and_exec is deprecated and will be removed in Rails 7.2.
68
- Please use find_cmd_and_exec on the connection adapter class instead.
69
- MSG
70
- ActiveRecord ::Base . lease_connection . find_cmd_and_exec ( commands , *args )
71
- end
72
64
end
73
65
74
66
module Command
You can’t perform that action at this time.
0 commit comments