class ACH::Component::HasManyAssociation::DoubleAssignmentError

Exception thrown if an association object, assigned for particular owner object, is used to assign to another owner object

Public Class Methods

new(name, owner) click to toggle source

Initialize the error with a descriptive message.

@param [String] name @param [ACH::Component] owner

Calls superclass method
# File lib/ach/component/has_many_association.rb, line 44
def initialize(name, owner)
  super "Association #{name} has alredy been assigned to #{owner}"
end