In rails 3, I included this line: 
*<%= javascript_include_tag 
"http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js"; %>*

But when migrate to rails 4, its not posible and I get the next error:
*Invalid argument - 
C:/Ruby193/findiner/app/assets/javascripts/http://cdn.leafletjs.com/leaflet-0.5.1
*

So far, I won't be able to get remote libraries. Thanks for help!

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/522b49ed-cfe1-4681-b907-9b1062adc876%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to