Exception: Neo4j::Rails::Persistence::RecordInvalidError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Neo4j::Rails::Persistence::RecordInvalidError
- Defined in:
- lib/neo4j/rails/persistence.rb
Instance Attribute Summary (collapse)
-
- (Object) record
readonly
Returns the value of attribute record.
Instance Method Summary (collapse)
-
- (RecordInvalidError) initialize(record)
constructor
A new instance of RecordInvalidError.
Constructor Details
- (RecordInvalidError) initialize(record)
A new instance of RecordInvalidError
178 179 180 181 |
# File 'lib/neo4j/rails/persistence.rb', line 178 def initialize(record) @record = record super(@record.errors..join(", ")) end |
Instance Attribute Details
- (Object) record (readonly)
Returns the value of attribute record
176 177 178 |
# File 'lib/neo4j/rails/persistence.rb', line 176 def record @record end |