method
source_reflection
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::Reflection::ThroughReflection
source_reflection()public
Gets the source of the through reflection. It checks both a singularized and pluralized form for :belongs_to or :has_many.
class Post < ActiveRecord::Base has_many :taggings has_many :tags, :through => :taggings end