Answers for "rails console execute sql"

SQL
2

rails execute sql

results = ActiveRecord::Base.connection.exec_query(sql)
Posted by: Guest on November-10-2020
0

show sql query in rails console

ActiveRecord::Base.logger = Logger.new(STDOUT)
Posted by: Guest on November-08-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language