title: Rails: How to create javascript object from controller?
body: <p>I am using Rails 3. I just want to create a simple javascript object from my controller. I don't want to render js because I'm already rendering html page and I want that javascript object in that html page.</p>