added some stuff to the layout. added footer and stuff.
added some bootstrap and basic custom css stuff.
added a user page and did all the things in chapter 5. all the things i thought were just styling. but there was so much more. now onto chanpter 7
finised up user signup portion of site.
added unicorn stuff. forced ssl.
added debug info to pages. added flash message for verification. added integration tests to verify form submission and catch regressions. added form validation. forced app to piggy back on heroku's ssl and configed Unicorn for high performance serving.
structured sessions to allow temporary and permanent logins using cookies. implemented a checkbox to allow perm logins. implemented logic to change links and layout based on login status. used flash message for login messages. added a remember token and corresponding remember digest for use in persistent sessions. learned that tenary operators were a compact way to write simple if-then statements. added integration tests for all the new features.
added more detailed integration test to test whether token was the same for the user instance or not when remember me was checked. boom
completed addition of registration and admin features. users can be updated using an edit form, which sends a PATCH request to the update action. can safely update through web due to use of strong parameters. use of Before filters to give a standard way to run methods before particular controller actions. impleted auth using these same before filters. added test to check auth and http requests directly to controller actions. friendly forwarding redirects users where they wanted to go after being sent to login page. the users index page shows all users, one page at a time. added code to seed.rb along with fake gem to seed db. learned how to use shorter render using user partial. added admin boolean to user model set to false by default then ran migration. created tests for each action.