A Gem version of responds_to_parent plugin