add :data option to Array.has_n_associates and ActiveRecord.has_n_associates