debugging posts controller for Heroku