instance method
find_cmd_and_exec
Ruby on Rails 7.1.6
Since v4.0.13 Last seen in v7.1.6 PrivateSignature
find_cmd_and_exec(commands, *args)
No documentation comment.
Parameters
-
commandsreq -
argsrest
Source
# File railties/lib/rails/commands/dbconsole/dbconsole_command.rb, line 66
def find_cmd_and_exec(commands, *args) # :doc:
Rails.deprecator.warn(<<~MSG.squish)
Rails::DBConsole#find_cmd_and_exec is deprecated and will be removed in Rails 7.2.
Please use find_cmd_and_exec on the connection adapter class instead.
MSG
ActiveRecord::Base.connection.find_cmd_and_exec(commands, *args)
end
Defined in railties/lib/rails/commands/dbconsole/dbconsole_command.rb line 66
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::DBConsole