found extra end
Added validation methods to post, refactored post views to use a form partial.