ActiveRecord exec_query fail for nonselect requests · Issue #26537 · rails/rails

Hi! Execution raw sql for nonselect queries like this: ActiveRecord::Base.connection.exec_query( 'update orders set id=1 where id=1' ) (undependently from correctness of sql) fail with execption :...