I am testing my app w Rails 2.0.2, and the loading log shows that the prototype .js files loaded twice http://0.0.0.0:3000/ ..... images files loaded http://0.0.0.0:3000/javascripts/application.js?1197932385 http://0.0.0.0:3000/javascripts/builder.js http://0.0.0.0:3000/javascripts/builder.js?1197932385 http://0.0.0.0:3000/javascripts/controls.js http://0.0.0.0:3000/javascripts/controls.js?1197932385 http://0.0.0.0:3000/javascripts/dragdrop.js http://0.0.0.0:3000/javascripts/dragdrop.js?1197932385 http://0.0.0.0:3000/javascripts/effects.js http://0.0.0.0:3000/javascripts/effects.js?1197932385 http://0.0.0.0:3000/javascripts/slider.js http://0.0.0.0:3000/javascripts/slider.js?1197932385 in my layout I am using only : <%= javascript_include_tag :all, :cache => true %> what could be the source of that particularity... thanks for your suggestions erwin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Did you mean: <%= javascript_include_tag :defaults, :cache => true %> "all.css" is the file that all the other js files are cached to. I think you meant to include the defaults, no? -- 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-/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 -~----------~----~----~----~------~----~------~--~---
In the source of your page are they loaded twice? On Dec 20, 2007 9:04 AM, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote:> > I am testing my app w Rails 2.0.2, and the loading log shows that the > prototype .js files loaded twice > > http://0.0.0.0:3000/ > ..... images files loaded > http://0.0.0.0:3000/javascripts/application.js?1197932385 > http://0.0.0.0:3000/javascripts/builder.js > http://0.0.0.0:3000/javascripts/builder.js?1197932385 > http://0.0.0.0:3000/javascripts/controls.js > http://0.0.0.0:3000/javascripts/controls.js?1197932385 > http://0.0.0.0:3000/javascripts/dragdrop.js > http://0.0.0.0:3000/javascripts/dragdrop.js?1197932385 > http://0.0.0.0:3000/javascripts/effects.js > http://0.0.0.0:3000/javascripts/effects.js?1197932385 > http://0.0.0.0:3000/javascripts/slider.js > http://0.0.0.0:3000/javascripts/slider.js?1197932385 > > in my layout I am using only : > <%= javascript_include_tag :all, :cache => true %> > > > what could be the source of that particularity... > thanks for your suggestions > erwin > > >-- Ryan Bigg http://www.frozenplague.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---