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



71
72
73
# File 'lib/alchemy/errors.rb', line 71

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