Now have both preview and publish buttons and better layout on homepage
Renaming buttons
Renaming varaibles
db migration adding published bit to post
Sample data to create published posts
Removed the preview variable
Added some tests to spec out the preview feature, currently suite failing beacuse I have to build the edit and update controller actions and templates
Added edit action to posts controller
Oops. Apparently adding a null action to the controller kills the app
Edit action in place, green suite
Update action working
Publishing also toggles the published bit. Added two scopes to the post model- published and previewed
Index and search are only displaying published content