Different behaviour Rails 2.1 on linux / osx

Hi,

I am running into a problem which really confuses me. I have Rails 2.1
and friends installed on both my osx development machine and a gentoo
linux machine.

I get a different ActiveRecord initialisation behaviour on those
machines. Here is a console example:

OSX (IMHO correct behaviour):

Loading development environment (Rails 2.1.0)

Image.new.parent_id

=> nil

Linux (IMHO wrong behaviour):

Loading development environment (Rails 2.1.0)

Image.new.parent_id

=> 0

Image is an ActiveRecord using the attachment_fu plugin (but that is
not the problem).

Any ideas why this is happening???

Thanks

nikwest

Ok, as usual I solved it once I wrote the post.

The problem was that I had an older version of sqlite3-ruby (1.1) on
my linux box. After updating to 1.2.2 it showed the same behaviour as
on OSX ...