method
derive_class_name
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Reflection::ThroughReflection
derive_class_name()private
No documentation available.
# File activerecord/lib/active_record/reflection.rb, line 972
def derive_class_name
# get the class_name of the belongs_to association of the through reflection
options[:source_type] || source_reflection.class_name
end