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.

There was a problem

You must be a member of this account.

Luca Guidi's latest activity

Monday, March 02 2009
2058 Rake tasks for run engine migrations was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 10:19 AM

    I'll try to provide a trivial example.

    
    vendor/plugins/authentication/db/migrate/20090101000000_create_users.rb
    db/migrate/20090101000001_add_users_openid.rb...
Saturday, February 28 2009
2058 Rake tasks for run engine migrations was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 6:16 PM

    I extracted the patch into a plugin: http://github.com/jodosha/plugin...

    Enjoy!

  • Luca Guidi
    Luca Guidi commented at 1:23 PM

    I created a second patch for running plugins migrations.

    I added a plugin column in the schema_definitions table: when NULL the migration belongs to the applica...

Wednesday, February 25 2009
2058 Rake tasks for run engine migrations was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 6:49 PM

    The problem with renaming a plugin is that the change is not reflected in the schema_migrations column.

    I don't agree with your comment, because if an engine ne...

  • Luca Guidi
    Luca Guidi commented at 9:20 AM

    Or we can just keep out numeric migrations

  • Luca Guidi
    Luca Guidi commented at 9:14 AM

    Just recognized that schema_migrations tracks all the changes.

    This means if you have two plugins with a 001 migration it will only run the first one (according...

  • Luca Guidi
    Luca Guidi commented at 8:36 AM

    @James Rails.configuration.plugins is the configuration you specify in environment.rb, so it's nil if you leave it untouched. And Rails.loaded_plugins returns a...

Tuesday, February 24 2009
2058 Rake tasks for run engine migrations was created in Ruby on Rails
  • Luca Guidi
    Luca Guidi created the ticket at 3:19 PM

    This patch adds two tasks: * db:migrate:engines * db:migrate:engines:down

    The first one allows to run all the migrations stored in the db/migrate directory of e...

Saturday, January 31 2009
1820 XmlMini autoload cause endless loop with Ruby 1.9.1 was updated in Ruby on Rails
  • Luca Guidi
    Luca Guidi commented at 10:15 AM

    Same behavior with Ruby 1.9.1 (ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.5.0])

Thursday, January 29 2009
1820 XmlMini autoload cause endless loop with Ruby 1.9.1 was created in Ruby on Rails
  • Luca Guidi
    Luca Guidi created the ticket at 4:25 PM

    I'm using Ruby 1.9.1-rc2 (ruby 1.9.1p0 (2009-01-20 revision 21700) [i386-darwin9.5.0]) and trying to run unit tests for AS.

    I noticed an endless loop for all th...