When I first saw the Final Projects for the object orientation section of my program, I was intimidated. OO was hard! And creating a CLI gem just sounded like a lot at the time. I felt differently upon reaching the Sinatra assessment. The project requirements seemed simple enough: create a CRUD app using Sinatra and ActiveRecord. As the labs building up to this project had made me do this several times over, I felt ready to create my own. Actually pulling it together wasn’t simple by any stretch, but it was certainly not as intimidating as the CLI gem (which I’m still working on!).
Specific Project Requirements:
- * Build an MVC Sinatra Application
- * Use ActiveRecord with Sinatra
- * Use Multiple Models
- * Use at least one has_many relationship
- * Must have user accounts. The user that created the content should be the only person who can modify that content
- * Models must have validations to ensure that bad data isn’t created
- * Any validation failures must be shown to user with an error message