attributes_for should be moved to a let statement