method

new

new(record, attempted_action)
public

No documentation available.

# File activerecord/lib/active_record/errors.rb, line 109
    def initialize(record, attempted_action)
      super("Attempted to #{attempted_action} a stale object: #{record.class.name}")
      @record = record
      @attempted_action = attempted_action
    end