created post_preview partial
changed method name in home action
updated specs due to database unique index
unit tests for Post::homepage query passing
created scrolling image for homepage
added save method with db constraint error handling, delegated to Post class
using default nested_attributes setter provided by rails
updated before block