Class: ForeignKeyChecker::Checkers::Relations::HasOneOrManyDependentResult
- Inherits:
-
Result
- Object
- Result
- ForeignKeyChecker::Checkers::Relations::HasOneOrManyDependentResult
- Defined in:
- lib/foreign_key_checker/checkers/relations.rb
Instance Attribute Summary
Attributes inherited from Result
#association, #error, #fk, #model, #ok, #table
Instance Method Summary collapse
Methods inherited from Result
Constructor Details
This class inherits a constructor from ForeignKeyChecker::Checkers::Relations::Result
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/foreign_key_checker/checkers/relations.rb', line 28 def "expected has_many or has_one association with dependent option for #{fk.inspect}" end |