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


93
94
95
# File 'lib/alchemy/errors.rb', line 93

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