changes to post.rb