Fix Projects#edit with custom MR states
authorMarius Mathiesen <marius@gitorious.org>
Tue, 27 Nov 2012 13:47:44 +0000 (14:47 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 27 Nov 2012 13:47:44 +0000 (14:47 +0100)
commiteef5a92f734ea8e5638f4220d06291270fb690eb
tree61f55d2b37101a6ee0d98b1dc2c38cea975c9e92
parent5075f97bdfa432e615325415b1f2c614e971b15b
Fix Projects#edit with custom MR states

This error would cause Projects#edit to fail if there are custom merge
request states for the project.

Again caused by a bug in Rails:

https://rails.lighthouseapp.com/projects/8994/tickets/4707-accepts_nested_attributes_for-_delete-feature-broken-in-rails-238
app/helpers/projects_helper.rb
test/functional/projects_controller_test.rb