method
proxy_reflection
v3.1.0 -
Show latest stable
- Class:
ActiveRecord::Associations::CollectionProxy
proxy_reflection()public
No documentation available.
# File activerecord/lib/active_record/associations/collection_proxy.rb, line 150
def proxy_reflection
ActiveSupport::Deprecation.warn(
"Calling record.#{@association.reflection.name}.proxy_reflection is deprecated. Please use " "record.association(:#{@association.reflection.name}).reflection instead. Or, from an " "association extension you can access proxy_association.reflection."
)
proxy_association.reflection
end