Adds child callback functionality to Rails ActiveRecord has_many relations.