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.

Hugo Peixoto's latest activity

Sunday, August 09 2009
1742 [PATCH] serialize fails when :null => false was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 11:49 PM

    verified on master. Using the migration given, just doing Blarg.create() yields the errors posted by Elad.

1948 Transaction block sets model ID to non-existent row was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 10:58 PM

    verified in master.
    +1 does seem like an important bug.

2503 validates_uniqueness_of is horribly inefficient in mysql was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 2:16 PM

    I agree, Jeremy. But sidestepping doesn't seem like the right thing to do.

    How about ":case_sensitive => :use_database_default" ?

1255 time.end_of_day not entirely accurate was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 2:10 PM

    Here's the 2-3-stable patch. Please test it in ruby 1.9.

  • Hugo Peixoto
    Hugo Peixoto commented at 1:05 PM

    I've attached a patch for master that supposedly on master, with both ruby1.8 and 1.9. Please test it, as my 1.9 setup is kind of broken.

1845 Finder methods ignore :include in has_many :through was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 1:29 PM

    +1 railsbob's patch works fine in both 2-3-stable and master, and without the fix the test fails.

767 Incorrect migrations when using pluralize_table_names was updated in Ruby on Rails
  • Hugo Peixoto
    • Assigned user set to Jeremy Kemper
    by Hugo Peixoto at 11:36 AM
  • Hugo Peixoto
    • Assigned user cleared.
    by Hugo Peixoto at 11:29 AM

    I've attached a patch which works in 2-3-stable, and contains the same features as the master patch that I've added before.

  • Hugo Peixoto
    Hugo Peixoto commented at 10:30 AM

    verified in master.
    There were no tests whatsoever related to nested namespaced models generation.
    I've attached a patch which adds a substancial amount of test...

1715 AR:Base mangles dates when user submits only part of the fields was updated in Ruby on Rails
  • Hugo Peixoto
    Hugo Peixoto commented at 8:22 AM

    Actually, according to date_select,

    NOTE: Discarded selects will default to 1. So if no month select is available, January will be assumed.
    

    So I've attached a...