Exception: Hoardable::CreatedAtColumnMissingError
- Defined in:
- lib/hoardable/error.rb
Overview
An error to be raised when ‘created_at’ columns are missing for Models.
Instance Method Summary collapse
-
#initialize(source_table_name) ⇒ CreatedAtColumnMissingError
constructor
A new instance of CreatedAtColumnMissingError.
Constructor Details
#initialize(source_table_name) ⇒ CreatedAtColumnMissingError
Returns a new instance of CreatedAtColumnMissingError.
10 11 12 13 14 15 |
# File 'lib/hoardable/error.rb', line 10 def initialize(source_table_name) super(" '\#{source_table_name}' does not have a 'created_at' column, so the start of the first\n version\u2019s temporal period cannot be known. Add a 'created_at' column to '\#{source_table_name}'.\n LOG\nend\n") |