[Rails] Re: How to use local javascript library for development and externally hosted for production?

2010-08-17 Thread lexer
Thanks guys. That was really helpful! -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@goog

[Rails] Re: How to use local javascript library for development and externally hosted for production?

2010-08-17 Thread Tim Shaffer
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" grou