Closed Monclee closed 10 years ago
Ok when the user post its ok, but when he edits by default a new field is added, like he has clicked "add more" when he does not. how can i remove this?
I guess you don't need to build a new nested record if there are some present. E.g.:
build
@project.tasks.build unless @project.tasks.any?
Ok when the user post its ok, but when he edits by default a new field is added, like he has clicked "add more" when he does not. how can i remove this?