Fixed some errors in Post.rb