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.

Steven Soroka's latest activity

Monday, March 30 2009
1515 NoMethodError in AssociationProxy#method_missing isn't helpful was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 10:42 PM

    I have a better solution, which I've provided with a patch in #2378

2378 AssociationProxy#method_missing masks method_missing in models was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 10:41 PM

    patch attached

  • Steven Soroka
    Steven Soroka created the ticket at 10:38 PM

    This was discussed in #1515, but was not addressed properly imho.

    I've come up with a better solution, which goes ahead and sends the message on to the target m...

Friday, March 27 2009
2364 ignore_nil{} as a better alternative to try() was created in Ruby on Rails
  • Steven Soroka
    Steven Soroka created the ticket at 9:05 PM

    ignore_nil is actually short for "ignore no method error on nil", referring to the error you get if you call a method on an object that is unexpectedly nil. Thi...

1721 Unify approach to gem dependencies was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 7:42 PM
    
      dependency "rspec", :env => %w(test staging)
    

    Would work great. ;)

Thursday, March 26 2009
2310 has_many :through + scope + empty? fails in 2.3.2 (but not 2.3.0) was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 4:12 PM

    this is the same problem referenced in #2189

  • Steven Soroka
    • State changed from resolved to new
    by Steven Soroka at 4:05 PM

    uh. that was not supposed to change the state. wonder if this will change it back: [#2310 state:new]

  • Steven Soroka
    • State changed from new to resolved
    by Steven Soroka at 4:03 PM

    This bug was introduced by commit 6543426... Ensure calculations respect scoped :select [#1334 state:resolved]

1334 Count calculations should respect scoped selects was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 4:07 PM

    this patch caused a bug with scopes and has-many-through's, see card #2310

Tuesday, March 24 2009
2310 has_many :through + scope + empty? fails in 2.3.2 (but not 2.3.0) was updated in Ruby on Rails
  • Steven Soroka
    Steven Soroka commented at 2:03 AM

    I'm having the exact same problem. :/