method
derive_class_name
derive_class_name()
private
Hide source
# File activerecord/lib/active_record/reflection.rb, line 216 def derive_class_name class_name = name.to_s.camelize class_name = class_name.singularize if [ :has_many, :has_and_belongs_to_many ].include?(macro) class_name end