You can still put assets in public/assets/ the thing is asset helper methods included from sprockets are not documented. This is confusing and we should fix it.
On Sat, Oct 1, 2011 at 10:45 AM, 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_tag > and > http://api.rubyonrails.org/classes/ActionView/Helpers/AssetTagHelper/StylesheetTagHelpers.html#method-i-stylesheet_link_tag > are 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.
