Hi there,

I have the following javascript_include_tags in my application.html.erb
file:

<%= javascript_include_tag 'jquery/jquery-1.3.2.min', :cache => 'jquery'
%>
<%= javascript_include_tag 'jrails' %>
<%= javascript_include_tag 'jquery/jquery.autocomplete.min', :cache =>
'jquery' %>
<%= javascript_include_tag 'mootools/mootools-1.2.1-core-yc', :cache =>
'mootools' %>
<%= javascript_include_tag 'mootools/mootools-1.2-more', :cache =>
'mootools' %>
<%= javascript_include_tag 'mootools/formcheck/formcheck', :cache =>
'mootools' %>

My question:

How come, when I run the *production* environment on the (virtual
private) server, the javascript files don't seem to load?
("XYZ-is-not-a-fuction" errors)

Hints:

- When I delete the :cache options, the scripts DO load correctly.
- When I'm in *development* mode, the whole problem doesn't occur at all
(I can have the :cache options).

Thank you for your input!
Tom
-- 
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 [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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to