add debug(params) if Rails.env.production? : to site layout to have a .debug_dump class element added to your html production environment. User heroku run console to get into the rails console on heroku
remember the difference between redirect and render - render has nothing to do with the url or the page = it will take the url of the current action and render the view.html.erb that you specify after render. redirect will actually call the controller#action