give a user automatic permission to access their own deployment
added unique constraints
Prevent non-unique deployment names
help prevent blank names for resources
set up project to be able to run rspec tests to check the model validation
create a relationship between a deployment and its environments
fix the tests
stop blank deployment names
create a relationship between environments and their passwords
redirect the user if trying to access a non-existant deployment
destroy content and environments if a deployment is destroyed
move code into application controller
fix filename again!
refactor using model relationships
use a proper forbidden page
remember to add the forbidden page!
use test environment specific seedfile
factory and model spec for users
more deployment specs
add database_cleaner gem