remove collection reference for ActiveRecord