I have <%= javascript_include_tag "prototype", "effects", "controls", "dragdrop", "lowpro", "time", "application", :cache => ''mysite'' %> in my _header.html.erb, but in the browser only <script src="/javascripts/ mysite.js?1208425672" type="text/javascript"></script> shows... any idea why? -- Mister Blood Rails --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 17 Apr 2008, at 11:53, Mister Blood Rails wrote:> > I have <%= javascript_include_tag "prototype", "effects", "controls", > "dragdrop", "lowpro", "time", "application", :cache => ''mysite'' %> in > my _header.html.erb, but in the browser only <script src="/ > javascripts/ > mysite.js?1208425672" type="text/javascript"></script> shows... any > idea why?Isn''t that the point of the :cache option (it amalgamates all the files into a single javascript file) ? Fred --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I honestly didn''t know that. Removing the cache fixed everything. Thanks man! :) On Apr 17, 6:59 pm, Frederick Cheung <frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 17 Apr 2008, at 11:53, Mister Blood Rails wrote: > > > > > I have <%= javascript_include_tag "prototype", "effects", "controls", > > "dragdrop", "lowpro", "time", "application", :cache => ''mysite'' %> in > > my _header.html.erb, but in the browser only <script src="/ > > javascripts/ > > mysite.js?1208425672" type="text/javascript"></script> shows... any > > idea why? > > Isn''t that the point of the :cache option (it amalgamates all the > files into a single javascript file) ? > > Fred--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---