Project 3
Guide Tasks
- Read Tutorial
- Complete the Exercise
Requirements
- Create a resource generator called
Post
with three attributes of:title
,content
, andtags
- Add a controller action in the
PostsController
and use it as the root path for the application, you can name the action anything you'd like - In the homepage template, place an h1 heading with the exact text:
Week Three Assignment
- Install the
Bootstrap gem
and follow the steps to get it functioning properly. - Add a class to your
h1
tag and assign it a color ofred
and name is:custom-heading
- Create a
div
tag with anul
of three items. - For the same
div
,create a class calledlist
. Integrate two styles, of your choice, for that class.
Instructions
- Fork the GitHub repo and clone it on your machine: Repo link
- Clone on your local machine
- Change into root application directory
- Run:
bundle install
,rails db:create
, andrails db:migrate
- Run:
rspec
to run tests - Implement the functionality necessary to get all of the tests passing
- After all tests are passing,
add
andcommit
your code and push it to your remote fork - Submit your finished code on this page.