Another option is to create your own configuration file and use the URL to the JavaScript file as a configuration variable.
See here: http://railscasts.com/episodes/85-yaml-configuration-file -- 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.

