template-sa6-ev.fse-f25-memphis.cd into your workspace folder.git clone the repo you created above.cd into the new working tree.bundle install/rails db:migrate && rails db:seed.
sa6-ev-hsimpson-1
This project contains the start of a blogging app. It already includes a BlogPost model class, as per this class diagram:
Along with this model class, the app includes the standard resource-CRUDing pages and UI features for BlogPost model objects. It also includes model validations and database seeds. (You can ignore the test fixtures and model tests for this assignment.) It is recommended that you initialize and run the base app at this point, so you can see firsthand what’s there.
For this EV activity, we will break from the prior ones by not presenting detailed feature specs; instead, we list the tasks you are to perform.
Steps to perform:
User model class.User.create!, so the system can be seeded with the users mentioned (Homer, Bart, and Lisa).BlogPostsController action, except for the index and show actions.User and BlogPost classes to establish ownership links between users and the blog posts they create, as per this class diagram:create action of the BlogPostsController such that it adds the new BlogPost object to the collection of posts authored by the current user.BlogPost objects belong to the appropriate User objects (as per the comments).BlogPost object in order to access the following BlogPostsController actions for that object: edit, update, and destroy.BlogPost index and show pages, replace the “TODO_AUTHOR” text with email of the User object whom the BlogPost belongs to.Although this assignment does not include a set of feature stories, the template does include a set of RSpec tests that you can use to check your work after completing the task.
Once you’ve completed the task, perform the follow steps to submit your work.
git add -Agit commit -m "Completed SA6-EV Explanation Video"git push