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.

Franco Catena's latest activity

Tuesday, February 15 2011
4347 Add foreign key support to migrations and schema.rb dump was updated in Ruby on Rails
  • Franco Catena
    Franco Catena commented at 10:20 PM

    +1 for me too. I agree, is the one thing that was always missed in migrations.

Wednesday, February 09 2011
6367 Timezone aware attributes fail with nil assignments was updated in Ruby on Rails
  • Franco Catena
    Franco Catena commented at 1:30 PM

    Yes, is fixed in master (through a pull not a ticket), I asume this ticket is pseudo stale, except for the fact that the other patch is not backported to 3-0-st...

Monday, February 07 2011
5522 Model classes are loaded before I18n is set when running tests. was updated in Ruby on Rails
  • Franco Catena
    Franco Catena commented at 1:54 PM

    OK José, no problem, thank you for you concern.

  • Franco Catena
    Franco Catena commented at 1:19 PM

    It is a shame, I do not know what is wrong with this path, why the one in #6353 was accepted and this is not.

Friday, February 04 2011
6367 Timezone aware attributes fail with nil assignments was updated in Ruby on Rails
  • Franco Catena
    • Tag changed from activerecord 3.0.4rc1 patch, patch rails 3.1.0.beta, 3.0, active_record, rails, rails3.1, timewithzone, timezone to activerecord 3.0.4rc1 patch, patch rails 3.1.0.beta, 3.0, active_record, patch, rails, rails3.1, timewithzone, timezone
    • Assigned user set to Aaron Patterson
    by Franco Catena at 12:51 AM

    After reading Ticket Assignment doc =)

Thursday, February 03 2011
6368 Object.exists?(nil) returned true in Rails 3.0.3, false in Rails < 3 was updated in Ruby on Rails
6367 Timezone aware attributes fail with nil assignments was updated in Ruby on Rails
  • Franco Catena
    • Tag changed from active_record, rails, timewithzone, timezone to activerecord 3.0.4rc1 patch, patch rails 3.1.0.beta, 3.0, active_record, rails, rails3.1, timewithzone, timezone
    by Franco Catena at 6:51 PM
  • Franco Catena
    Franco Catena created the ticket at 2:15 PM

    The "automagic" timezone conversion fails when you assign nil to a timezone aware attribute, for example:

    some_model.created_at = nil

    And got an ugly "TypeError...

Thursday, January 27 2011
6342 ActiveRecord::Base#exists? returns true when called with nil was updated in Ruby on Rails
  • Franco Catena
    Franco Catena commented at 3:08 PM

    I think that in this case ActiveRecord interpret this question like

    dept.employees.count > 0

    So in a way the question "exists?" is translates to "at least one ...

Thursday, November 25 2010
5522 Model classes are loaded before I18n is set when running tests. was updated in Ruby on Rails
  • Franco Catena
    • Tag changed from testing environment, cache_classes, eager_loading, i18n, patch, rails3, railties to testing environment, cache_classes, eager_loading, i18n, patch, rails3, railties, verified
    by Franco Catena at 11:38 AM