Exception: MassiveRecord::ORM::ColumnFamiliesMissingError
- Inherits:
-
MassiveRecordError
- Object
- StandardError
- MassiveRecordError
- MassiveRecord::ORM::ColumnFamiliesMissingError
- Defined in:
- lib/massive_record/orm/errors.rb
Instance Attribute Summary collapse
-
#missing_column_families ⇒ Object
readonly
Returns the value of attribute missing_column_families.
Instance Method Summary collapse
-
#initialize(klass, missing_column_families) ⇒ ColumnFamiliesMissingError
constructor
A new instance of ColumnFamiliesMissingError.
Constructor Details
#initialize(klass, missing_column_families) ⇒ ColumnFamiliesMissingError
Returns a new instance of ColumnFamiliesMissingError.
40 41 42 43 |
# File 'lib/massive_record/orm/errors.rb', line 40 def initialize(klass, missing_column_families) @missing_column_families = missing_column_families super("hbase are missing some column families for class '#{klass.to_s}', table '#{klass.table_name}': #{@missing_column_families.join(' ')}. Please migrate the database.") end |
Instance Attribute Details
#missing_column_families ⇒ Object (readonly)
Returns the value of attribute missing_column_families.
39 40 41 |
# File 'lib/massive_record/orm/errors.rb', line 39 def missing_column_families @missing_column_families end |