method

limited_update_conditions

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

Method deprecated or moved

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

limited_update_conditions(where_sql, quoted_table_name, quoted_primary_key)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 305
      def limited_update_conditions(where_sql, quoted_table_name, quoted_primary_key)
        "WHERE #{quoted_primary_key} IN (SELECT #{quoted_primary_key} FROM #{quoted_table_name} #{where_sql})"
      end