Flowdock
method

new

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: AssociationNotFoundError
new(record = nil, association_name = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/associations.rb, line 8
    def initialize(record = nil, association_name = nil)
      if record && association_name
        super("Association named '#{association_name}' was not found on #{record.class.name}; perhaps you misspelled it?")
      else
        super("Association was not found.")
      end
    end
Register or log in to add new notes.