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.

Tarmo Tänav's latest activity

Friday, September 19 2008
1066 Associations#sum no longer returns a BigDecimal was updated in Ruby on Rails
  • Tarmo Tänav
    Tarmo Tänav commented at 8:12 AM

    Aha, indeed that makes sense, but this means it may not be a good idea to make everything BigDecimal, in 2.1.2. Though we may have to restore the typecast behav...

  • Tarmo Tänav
    • Milestone cleared.
    by Tarmo Tänav at 5:05 AM

    Are you sure that in 2.1.0 it returned a BigDecimal? The tests in the attached patch seem to fail when run on 2.1.0 without the change to calculations.rb. Looki...

Thursday, September 18 2008
883 validates_uniqueness_of is case_sensitive by default was updated in Ruby on Rails
  • Tarmo Tänav
    • State changed from new to resolved
    by Tarmo Tänav at 10:21 PM
  • Tarmo Tänav
    • Milestone changed from 2.1.1 to 2.1.2
    by Tarmo Tänav at 7:12 AM
358 find with a has_many condition fails was updated in Ruby on Rails
  • Tarmo Tänav
    Tarmo Tänav commented at 9:24 PM

    stale only means that the bug is not moving anywhere, either no patch for a long time or the patch no longer applies.

483 Automatic validation on has_many should not be performed twice was updated in Ruby on Rails
  • Tarmo Tänav
    • State changed from new to resolved
    • Tag changed from activerecord, bug, has_many to activerecord, bug, has_many
    by Tarmo Tänav at 8:10 AM

    As already pointed out, ":validate => false" can now be used to counter this problem.

379 ActiveRecord::Base class_name weirdness was updated in Ruby on Rails
  • Tarmo Tänav
    • Tag changed from activerecord, tiny to activerecord, tiny
    by Tarmo Tänav at 8:02 AM

    Perhaps the method should be removed?, nothing in AR seems to depend on it (the only test that breaks when this method is broken is the test for this method) an...

538 has_many :through generates bad SQL during include? was updated in Ruby on Rails
  • Tarmo Tänav
    • State changed from new to invalid
    by Tarmo Tänav at 7:45 AM

    I'm unable to reproduce it, looking at sanitize_sql_hash_for_conditions() which exists?() calls indirectly through expand_id_conditions() it seems that everythi...

636 Remove default t.integer ... :limit => 11 from schema.rb was updated in Ruby on Rails
  • Tarmo Tänav
    • State changed from new to resolved
    • Tag changed from 2.1, activerecord, bug, rake to 2.1, activerecord, bug, rake
    by Tarmo Tänav at 7:22 AM

    Limit 11 is already interpreted as display width for mysql in 2.1.1 and edge and in both cases :limit => 11 shouldn't even be dumped to schema.rb any more, this...

498 validates_uniqueness_of: wrong default in doc was updated in Ruby on Rails
  • Tarmo Tänav
    • Tag changed from 2.1, activerecord, doc to 2.1, activerecord
    by Tarmo Tänav at 7:12 AM

    Thank you for the report, but closing in favor of #883