Chris M. wrote in post #1016050: > > If you put the first argument to javascript_include_tag on the same line > (i.e. combine lines 6 and 7), then Ruby will know you're listing > arguments to javascrip_include_tag, and it'll work. >
Thanks. That means I can do this: <%= javascript_include_tag( "http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js", "jquery.rails.js") %> -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.