This method is deprecated or moved on the latest stable version.
The last existing version (v4.2.9) is shown here.
execute(sql, name = nil)
public
Executes the SQL statement in the context of this connection.
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 220
def execute(sql, name = nil)
# make sure we carry over any changes to ActiveRecord::Base.default_timezone that have been
# made since we established the connection
@connection.query_options[:database_timezone] = ActiveRecord::Base.default_timezone
super
end