[Rubycocoa-devel 936] Re: patch for active_record.rb

Zurück zum Archiv-Index

Justin Palmer encyt****@gmail*****
Sun Jun 3 03:13:12 JST 2007


Hey guys,

I sent the original message to the .net dev list, looks like that one  
isn't being used.

Just a little info on the patch, this documents  
connect_to_sqlite_in_application_support.
This also fixes a bug in rbSetValue_forKey.  If you didn't turn  
validates_immediately on and
the value passed was nil, it would attempt to call to_ruby on nil.   
This just sets the key's value to
nil.

Finally, this allows you to specify a migration directory, but I  
wonder if this is the correct spot to do this or if
we should just use an accessor on the module.

   -Justin


On Jun 2, 2007, at 11:52 AM, Laurent Sansonetti wrote:

> Hi Eloy,
>
> This is for you :-)
>
> http://pastie.textmate.org/67229
>
> Patch is from Justin Palmer.
>
> Laurent




More information about the Rubycocoa-devel mailing list
Zurück zum Archiv-Index