checkout "association_chain" method for default behavior

The same as josevalim/inherited_resources#339 but on the fresh master