method

update_sql

rails latest stable - Class: ActiveRecord::ConnectionAdapters::Mysql2Adapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

update_sql(sql, name = nil)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 318
      def update_sql(sql, name = nil)
        super
        @connection.affected_rows
      end