Exception: AuditModel::ColumnNotFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/generators/audit_model/column_not_found_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(info) ⇒ ColumnNotFoundError

Returns a new instance of ColumnNotFoundError.



3
4
5
# File 'lib/generators/audit_model/column_not_found_error.rb', line 3

def initialize(info)
  super("The column #{info[:column]} doesn't exist in #{info[:klass]}!")
end