<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<HEAD>
<TITLE>Home</TITLE>
<%= javascript_include_tag 'accordion.js', 'application.js' %>
...
</HEAD>
...
generated <script type="text/javascript" src="/academy/javascripts/
accordion.js?1249998180"/>
.. I use a sub-uri :
config.action_controller.relative_url_root = "/academy"
the generated code should be : ???
<script type="text/javascript" src="/academy/public/javascripts/
accordion.js?1249998180"/>
I think it's an environment description issue
when being in development mode, w mongrel , I should not mention the
sub-uri, so it goes directly to htp://localhost:3000/
if I test with Apache mod-rails I should mention the sub-uri AND the
asset host