[Rails] routing failures

Craig White
2006-02-14T14:00:30Z

On Tue, 2006-02-14 at 06:54 -0700, Craig White wrote:
> On Tue, 2006-02-14 at 08:38 -0500, Byron Saltysiak wrote:
> > And it works if you go to /placements/list directly?
> ----
> No change in behavior
> ----
> >
> > Do you have the html using relative paths?
> ----
> yes - all of the calls are in my ''layouts'' and they are
simply like...
>
> <%= stylesheet_call_tag ''placements'' %>
----
need coffee - need coffee
<%= stylesheet_link_tag ''placements'' %>
---
> ----
> >  (../../stylesheets/case_manager.css) or are you using the rails tags
> > for stylesheets?
> >
> > - Byron
----
FWIW - webrick still works fine so this problem is peculiar to my setup
with apache/fastcgi

Craig
----
> > On 2/14/06, Craig White <craigwhite@azapple.com> wrote:
> >         probably something really simple but I don''t
understand.
> >
> >         Shifting to Apache to w/ fastcgi (definitely feels faster than
> >         webrick)
> >
> >         Anyway, I set the default route in routes.rb to be
> >
> >           map.connect '''', :controller =>
"placements", :action =>
> >         ''list''
> >
> >         which worked once I figured out apache...
> >
> >         Anyway, now that I have done that, all attempts to access
> >         stuff inside
> >         the public directory fails (stylesheets, javascripts etc.)
> >         with this in
> >         the logs...
> >
> >         ActionController::RoutingError (Recognition failed for
> >         "/stylesheets/case_manager.css"):
> >
> >         (I don''t think I need to keep including more of these
or the
> >         traces).
> >
> >         I would like to have it do the default route but if it breaks
> >         everything, that doesn''t make much sense...where am I
going
> >         wrong?
> >
> >         Thanks
> >
> >         Craig
> >
> >         _______________________________________________
> >         Rails mailing list
> >         Rails@lists.rubyonrails.org
> >         http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> >
> >
> > --
> > Byron
> > http://byron.saltysiak.com
> > _______________________________________________
> > Rails mailing list
> > Rails@lists.rubyonrails.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails