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 ...
On Jul 10, 11:54 am, nikwest
<west...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> 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
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---