Exception: PredicateScope::Errors::MissingAssociation

Inherits:
StandardError
  • Object
show all
Defined in:
lib/predicate_scope.rb

Instance Method Summary collapse

Constructor Details

#initialize(table) ⇒ MissingAssociation

Returns a new instance of MissingAssociation.



24
25
26
# File 'lib/predicate_scope.rb', line 24

def initialize(table)
  super("Missing association for table \"#{table}\". You probably need to join it.")
end