[Locomotive-users] Problem with :belongs_to relation

Stephen Waits steve at waits.net
Mon Feb 26 22:01:24 GMT 2007


Samuel Linde wrote:
> So, do you is it a problem with mongrel? I'm using the latest RMagick 
> bundle from the Locomotive website. I've tried with the latest edge as 
> well, nothing seems to help.
> 
> Isn't it odd that it works the first time I call the method, but all the 
> subsequent returns an error?
> Is there something else I could try in the db schema? Should I add 
> foreign key restraints?

Yes it is weird.

I suggest you try using different web servers.  For example, try 
launching script/server from the command line.  You can have it use 
lighttpd or webrick.  Or, try running mongrel_rails from the command line.

Also, you might do a "gem update -y".

--Steve



More information about the Locomotive-users mailing list