method
derive_class_name
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::Reflection::AssociationReflection
derive_class_name()
private
Hide source
# File activerecord/lib/active_record/reflection.rb, line 767 def derive_class_name class_name = name.to_s class_name = class_name.singularize if collection? class_name.camelize end