Fixed an issue that was caused by the merge of ‘improve/default_branch’.
Created by: ghost
Not sure how to add a test for this, but update_attributes can’t be used anymore, since the default_branch is no longer in the db. This issue is manifest be a 500 error when visiting a newly created project page (or a project with an empty repo).
The commit in question is 253680bb.