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.

There was a problem

You must be a member of this account.

Tobi's latest activity

Friday, October 02 2009
3309 [PATCH] Merging JOINs when chaining scopes requires same case in JOIN expression was updated in Ruby on Rails
  • Tobi
    • Tag changed from 2.3.4, :joins, activerecord, named_scope to 2.3.4, :joins, activerecord, named_scope, patch
    • Title changed from Merging JOINs when chaining scopes requires same case in JOIN expression to [PATCH] Merging JOINs when chaining scopes requires same case in JOIN expression
    by Tobi at 11:43 AM

    Fixed with the patch attached. Pls check solution and test...

    Comparison algorithm may slow down the process, see for different approaches (including mine)
    htt...

Friday, September 11 2009
3166 [PATCH] ActiveRecord::Base#reload didn't respect default_scope conditions was updated in Ruby on Rails
  • Tobi
    Tobi commented at 10:17 AM

    there was an issue with protected method. is fixed, see updated patch

Wednesday, September 09 2009
3166 [PATCH] ActiveRecord::Base#reload didn't respect default_scope conditions was updated in Ruby on Rails
  • Tobi
    • Tag set to 2.3.4, activerecord, default_scope, patch, reload, with_exclusive_scope
    by Tobi at 10:58 AM
Tuesday, September 08 2009
3166 [PATCH] ActiveRecord::Base#reload didn't respect default_scope conditions was updated in Ruby on Rails
  • Tobi
    Tobi commented at 3:25 PM

    ehm, and the patch attached ;-)

  • Tobi
    Tobi created the ticket at 3:24 PM

    Just a quick bug fix for reloading a model which has a default_scope set but doesn't meet the condition:

    It lead to a RecordNotFound exception, in case the mode...

Sunday, February 01 2009
1817 ActiveRecord::Base exists? expects argument was updated in Ruby on Rails
  • Tobi
    • Tag changed from argument, default, exists, missing to argument, default, exists, missing, patch
    by Tobi at 2:14 PM

    cheers!

Thursday, January 29 2009
1817 ActiveRecord::Base exists? expects argument was created in Ruby on Rails
  • Tobi
    Tobi created the ticket at 10:50 AM

    Tiny but annoying bug if you want to have beautiful code:

    The Bug By now ActiveRecord::Base method "exists?" expects an argument.

    Example: to check if at least ...