Added is_test and is_public flags to the projects table. Added unit tests for new fields. Removed unecessary attr_accessible section from projects model. Added setters for new flag fields so that only one can be true at a given time
dev
1 parent 07efce7 commit 3140c9181e8584659b1faa523e070a6b6f2be48a
@briley briley authored on 3 Jan 2017
Showing 5 changed files
View
app/models/project.rb
View
db/migrate/20170103171414_add_test_and_public_to_projects.rb 0 → 100644
View
db/schema.rb
View
test/fixtures/projects.yml
View
test/unit/project_test.rb