lib/active_record_patch_new.rb
# Respond_to should also be extended because we have added methods dynamically
Respond_to should also be extended because we have added methods dynamically
Respond_to should also be extended because we have added methods dynamically
def respond_to_with_associations?(method_id, include_private = false)
			  if match = ActiveRecord::DynamicScopeMatch.match(method_id)
			    return true if all_associations_exist?(match.attribute_names)
			  end
			  respond_to_without_associations?(method_id, include_private)
			end
def respond_to_with_associations? ( method_id , include_private = false ) if match = ActiveRecord :: DynamicScopeMatch . match ( method_id ) return true if all_associations_exist? ( match . attribute_names ) end respond_to_without_associations? ( method_id , include_private ) end
Respond_to should also be extended because we have added methods dynamically
Respond_to should also be extended because we have added methods dynamically
method_id
<not_specific>
include_private
<not_specific>