restebanez/agi — pull request #22 by harryw (2012-07-09 16:00:26+00:00)
Title: Fix EC2 security group Cucumber test

The Cucumber tests have been broken (1 pending step) for a little while now, and that has hidden an error in the tests when the EC2 security group changed from a text box to a select list.

While fixing this test I realized that the 'auto_generate_database' checkbox on the app create page was actually stored in the app model. This isn't really necessary, since it's only used when the app is created and then never used again. Really it's a flag to tell the controller what to do with the model, not an attribute of the model itself. So I removed it from the model and the DB and made changes to accommodate.