Ralph Shnelvar wrote:
> I am not fighting it.
>
> I am getting a
>
> Routing Error
>
> No route matches "/xxx" with {:method=>:get}
>
> rather than a 404 error during development.
>
> So .. why am I getting that message instead of a 404 here?
Because Rails handles errors differently in development and production.
In development, you see diagnostic info; in production, you see
404.html. (I suspect the HTTP status code is 404 even in development,
though; you could check with curl -i.)
And please don't top-post.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
--
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.