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



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

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