module InheritedResources::BaseHelpers
def association_chain
current resource).
Returns the association chain, with all parents (does not include the
def association_chain @association_chain ||= symbols_for_association_chain.inject([begin_of_association_chain]) do |chain, symbol| chain << evaluate_parent(symbol, resources_configuration[symbol], chain.last) end.compact.freeze end