if i have a variable, such as: @text declared in my controller, how would i go about dereferencing that in an .js.erb file?
i seem to see a lot of pages using: <%= @text %> to directly dereference the value, but i can't seem to get it to work.. i get invalid symbol errors (js errors) as soon as it hits "<%=".. any help? thanks! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

