I want to execute a very long query in Rails using ActiveRecord::Base.connection.execute(sql).
However, the query keeps timing out. Is it possible to change the timeout value for this specific query instead of having to change the timeout value for all queries in database.yml?
Thanks
1 Answer