Modified post.rb