Writing raw SQL queries
If you really, really have a good reason to write raw SQL (generally a bad practice), make sure you use the right call.
ActiveRecord::Base.connection.execute in general, in particular because Octopus relies on this to determine which queries go to replicas.
execute would always go to the master.
update being the most usual.