module InheritedResources::BaseHelpers
def apply_scopes_if_available(target_object) #:nodoc:
It's extend by HasScopeHelpers.
Hook to apply scopes. By default returns only the target_object given.
def apply_scopes_if_available(target_object) #:nodoc: respond_to?(:apply_scopes) ? apply_scopes(target_object) : target_object end