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.

Gabe da Silveira's latest activity

Wednesday, December 02 2009
1211 reset_counter_cache was updated in Ruby on Rails
  • Gabe da Silveira
    Gabe da Silveira commented at 11:45 PM

    Thanks for the work on this everybody, but I don't agree with the implementation. Resetting all the counter caches like this is not performant. At best you will...

Tuesday, November 17 2009
3491 Assigning to has_many :through using the generated *_ids method does not inse... was created in Ruby on Rails
  • Gabe da Silveira
    Gabe da Silveira created the ticket at 5:52 PM

    Suppose you have:

    class Post
      has_many :readers
      has_many :people, :through => :readers
    end
    

    The following assignment will insert in the expected order:

    @po...
Saturday, October 10 2009
2727 local error page does not show session was updated in Ruby on Rails
  • Gabe da Silveira
    • Tag changed from 2-3-stable, exception_notification, session to 2-3-stable, 3.0, exception_notification, session
    by Gabe da Silveira at 12:41 AM

    I've created a patch for 2-3-stable and tested on my 2.3.4 app. I rebased to master as well. There are no tests because testing the output of this template seem...

Monday, October 05 2009
2340 action mailer can't deliver mail via smtp on ruby 1.9.1 was updated in Ruby on Rails
  • Gabe da Silveira
    Gabe da Silveira commented at 8:23 PM

    I agree with Paul. This bug is nasty. Our site was not sending emails for an hour after deploying. To make matters worse, exception notifier was broken too so w...

Friday, October 02 2009
1956 [PATCH] json validations errors for ActiveResource was updated in Ruby on Rails
  • Gabe da Silveira
    Gabe da Silveira commented at 7:55 PM

    This patch introduced a regression my app's tests because our activeresource mocks did not set a content-type header. This was easy enough to fix once I debugge...

Tuesday, June 03 2008
325 Add assert_query method to AR test_helper was created in Ruby on Rails
  • Gabe da Silveira
    Gabe da Silveira created the ticket at 10:01 PM

    Added a assert_query method that supplements assert_queries so that you can make assertions about the actual contents of queries in addition to the count.

    Thi...