Topic: Problems with variables upon deployment
I have a small problem. It's very strange. I am trying to get my rails app off my computer and onto a server for all to see. It's going quite well except for one thing. One controller to be precise.
All other controllers work just fine, but this one controller will not pass variables on to the view AT ALL! As you can imagine, this is a pain.
For example, on every controller in every action I have a variable called @page_title. This gets passed through to the view and used both in the <title> tag and an <h2> tag in the body. It works fine for all controllers apart from this one. I've tried scrapping the controller and starting with a blank file and even then it doesn't work!
Has anyone else had a problem like this before and how did you resolve it? Or even if you haven't had this problem but know how to fix it?
Please help! Thanks
Edit: Oh yeah and it won't follow redirect_to commands either. It all works fine on my local machine!
Last edited by maktheyak (2007-03-05 20:13:03)