Re: Javascript blues

Chris Mear
Fri, 02 Feb 2007 15:08:52 -0000

On Feb 2, 2:06 pm, Tharfagreinir
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:
> Yes, the file is definitely there. I''m very confident that this is
not
> the issue. Interestingly, I also get a routing error on files in
> #{RAILS_ROOT}/public, such as robots.txt. Is this normal?

No, that''s not normal. Don''t suppose you''ve put some
funny custom
routes in your routes.rb file?

To figure out whether this problem is specific to this app, or whether
it''s a general problem with your system, try creating a new empty
Rails app, dump a javascript file in public/javascripts, and see if
your browser can load it.

Chris