class ActiveRecord::HasAndBelongsToManyAssociationForeignKeyNeeded

:nodoc:

def initialize(reflection)

:nodoc:
def initialize(reflection)
  super("Cannot create self referential has_and_belongs_to_many association on '#{reflection.class_name rescue nil}##{reflection.name rescue nil}'. :association_foreign_key cannot be the same as the :foreign_key.")
end