Franco Catena
Not a member
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 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 commented at 1:30 PMYes, 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
-
-
Franco Catena commented at 1:19 PMIt 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
-
- 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
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
-
- 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
-
Franco Catena created the ticket at 2:15 PMThe "automagic" timezone conversion fails when you assign nil to a timezone aware attribute, for example:
some_model.created_at = nilAnd 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 commented at 3:08 PMI 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
-
- 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