Why don't you put you them in the vendor/assets folder? Makes more sence there than the public folder anyway
-- Wael Nasreddine Sent from my iPhone On Oct 1, 2011, at 16:43, Alexei Vakhov <[email protected]> wrote: Hello! I installed sprockets 2.0.1 and found that javascript_include_tag and stylesheet_link_tag dont' support script and style files from public folder anymore. If I use javascript_include_tag '/some-file-from-public.js' I get error that file not found in assets paths. Is it right behaviour? I prefer to use big 3rd party libraries like tinymce from public folder. In any case with new 2.0.1 version documentation pages http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper/JavascriptTagHelpers.html#method-i-javascript_include_tagand http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper/StylesheetTagHelpers.html#method-i-stylesheet_link_tagare obsoleted. Unfortunately I don't have time to investigate changes deep now :( -- Alexey Vakhov -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
