Exception: Alchemy::MissingActiveRecordAssociation

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

Instance Method Summary collapse

Instance Method Details

#messageObject

Raised if a alchemy_resource_relation is defined without proper ActiveRecord association


82
83
84
# File 'lib/alchemy/errors.rb', line 82

def message
  "You need to define proper ActiveRecord associations, if you want to use alchemy_resource_relations."
end