tchx84/issuefy — pull request #4 by mumblez (2013-07-20 02:34:50+00:00)
Title: if block for new version

The rest apply in either case:

+ version.project = project
+ version.name = version_text
+ version.save!
+ version.id

Hope this is alright