correct posts_controller added posts.rb in models and validations