add query options to has_many association