adds default to resource has_many generator