method
deprecated_associations_api_guard
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Associations
deprecated_associations_api_guard(association, method_name)private
No documentation available.
# File activerecord/lib/active_record/associations.rb, line 92
def deprecated_associations_api_guard(association, method_name)
Deprecation.guard(association.reflection) { "the method #{method_name} was invoked" }
end