Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Leonardo Borges's latest activity

Thursday, April 30 2009
1874 Add short-hand definition for PostgreSQL XML data type was updated in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges commented at 11:51 AM

    So is it missing anything in the patch?

    Just wondering is you had time to take a look at it.

    Tks

Wednesday, March 11 2009
1874 Add short-hand definition for PostgreSQL XML data type was updated in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges commented at 2:47 PM

    Combined changes in a single patch and added tests.

Friday, February 20 2009
1874 Add short-hand definition for PostgreSQL XML data type was updated in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges commented at 8:20 AM

    Small update to the patch.

    I forgot to add xml to the NATIVE_DATABASE_TYPES hash.

    With this change, this is the fully working patch I'm using here.

Thursday, February 19 2009
1874 Add short-hand definition for PostgreSQL XML data type was updated in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges commented at 9:37 AM

    I guess that depends.

    Attached is a possible solution within the same diff.

    This falls back to the sqltype :text for mysql and sqlite if trying to use the XML d...

Wednesday, February 18 2009
1874 Add short-hand definition for PostgreSQL XML data type was updated in Ruby on Rails
  • Leonardo Borges
    • Tag set to patch
    by Leonardo Borges at 4:47 PM

    Added proper patch diff to show the changes. Also the patch includes fix for the schema dumping.

    It was dumping as:

    t.string

    instead of:

    t.xml

Wednesday, February 04 2009
1874 Add short-hand definition for PostgreSQL XML data type was created in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges created the ticket at 3:23 PM

    I'm starting a project in rails that uses the XML data type in postgres.

    The migration for that to work needs to be like this:

    
    class CreateDocuments < Active...
Thursday, October 02 2008
1136 Patch to enable --database=ibm_db was updated in Ruby on Rails
  • Leonardo Borges
    Leonardo Borges commented at 8:16 PM

    That really sounds nice!

    I found myself patching rails code as well and this would be a huge step forward.

    At our company we still go a bit further and use DB2'...