[Rails] edge and 1.8.2/1.8.4 issues
Richard Livsey
richard at livsey.org
Sun Mar 26 17:10:44 GMT 2006
It gets stranger...
Narrowed it down to this line in routes.rb:
map.connect ':controller/service.wsdl', :action => 'wsdl'
One of the default routes.
If I comment it out, all works fine.
Left in and WEBrick crashes!
I have absolutely no idea why, but I don't use web services at the
moment so it's staying commented out!
Fingers crossed everything looks fairly stable now.
If anyone has any ideas how I can debug further and find out why that
line crashes WEBrick then I will be happy to spend some more time
looking into it and see what's actually causing it.
--
R.Livsey
http://livsey.org
Richard Livsey wrote:
> Having a conversation with myself here... :o)
>
> The fact that some pages work and some don't means I've been trying to
> work out what the differences are.
>
> I made a test controller and action and called that - all works
> Copied across code from a broken action - all works
> Copied across view from the same action - all works
>
> Ok, so by all intents and purposes these 2 are identical, yet one works
> and the other doesnt. Consistently.
>
> Deleted all my routes except for the default and now they both work!
> Well, I get a load of errors because the named routes no longer exist
> and I'm using them in the view. But at least it's getting there!
>
> Something to do with routes I think then!
>
> Will probe some more and see what I can find.
>
More information about the Rails
mailing list