Added fix to Post.rb to fix Heroku