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.

calavera's latest activity

Friday, May 29 2009
2506 models are not loaded in migrations when config.threadsafe! is set was updated in Ruby on Rails
  • calavera
    calavera commented at 9:42 AM

    @thedarkone take a look at the threadsafe! source code:

    # Enable threaded mode. Allows concurrent requests to controller actions and
    # multiple database connec...
Thursday, May 28 2009
2506 models are not loaded in migrations when config.threadsafe! is set was updated in Ruby on Rails
  • calavera
    calavera commented at 5:00 PM

    the threadsafe option in production doesn't load the dependencies, you can configure it to load them with this option in your production.rb just after config.th...

2452 counter_cache not updated when an item updates its polymorphic owner was updated in Ruby on Rails
  • calavera
    • Tag changed from active_record, counter_cache, polymorphic to 2.x, active_record, counter_cache, patch, polymorphic, test
    by calavera at 12:20 PM

    this patch solves the problem. I've added the test cases that Raul sent with the bug

Thursday, May 21 2009
2298 ActiveRecord::Rollback does not nil all id attributes was updated in Ruby on Rails
  • calavera
    calavera commented at 12:20 PM

    ok. I'm opening a new ticket so XD

  • calavera
    calavera commented at 11:08 AM

    Following the clues I just arrived to this method into active_record/transactions.rb:

    # Reset id and @new_record if the transaction rolls back.
        def rollbac...
Wednesday, May 20 2009
2681 Configuration.default_load_paths includes the default controllers directory t... was created in Ruby on Rails
  • calavera
    calavera created the ticket at 11:42 AM

    It doesn't affect anything because the method set_load_path executes a uniq! but it's a little annoying

2680 Ensure database middleware doesn't use ActionContoller::Base.session_store if... was updated in Ruby on Rails
  • calavera
    • Tag changed from patch, railties, test, tiny to bug, patch, railties, test, tiny
    by calavera at 10:58 AM
  • calavera
    calavera created the ticket at 10:22 AM

    If you remove action_controller from the frameworks list the initilize_database_middleware stills can use the ActionController::Base class to estabish the sessi...

Wednesday, May 13 2009
2637 I18n, look up a translation with the default locale when it's missed with ano... was updated in Ruby on Rails
  • calavera
    calavera commented at 9:16 PM

    Yep, I didn't know there were a separate project. I'm sending it to the I18n tracker as well.

    It already works on Rails setup by default, this is the code that ...

Tuesday, May 12 2009
2637 [PATCH] I18n, look up a translation with the default locale when it's missed ... was created in Ruby on Rails
  • calavera
    calavera created the ticket at 4:13 PM

    I've added an I18n option to allow to look up a translation with the default locale when it's missed with another specific locale.

    This is a useful option if yo...