class ActiveRecord::Reflection::AssociationReflection

def klass

instead. This allows plugins to hook into association object creation.
a new association object. Use +build_association+ or +create_association+
Note: do not call +klass.new+ or +klass.create+ to instantiate

# => Book
Author.reflect_on_association(:books).klass

end
has_many :books
class Author < ActiveRecord::Base

Returns the target association's class:
:nodoc:
Holds all the meta-data about an association as it was specified in the Active Record class.
def klass
  @klass ||= active_record.send(:compute_type, class_name)
end