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.

Maxim Chernyak's latest activity

Saturday, September 18 2010
5636 head method attempts to camelcase headers was updated in Ruby on Rails
  • Maxim Chernyak
    Maxim Chernyak commented at 7:39 PM

    Happens. :) I don't know why I didn't do first char assignment in the first place, thanks.

    Here's the new patch.

  • Maxim Chernyak
    Maxim Chernyak commented at 7:35 PM

    Strange.

    ruby-1.8.7-p302 > v = 'foo'
     => "foo" 
    ruby-1.8.7-p302 > v[0] = v[0].upcase
    NoMethodError: undefined method `upcase' for 102:Fixnum
            from (irb)...
  • Maxim Chernyak
    Maxim Chernyak commented at 7:25 PM

    @Jose

    Almost right. v[0] = v[0].chr.upcase. Will fix now, sec.

  • Maxim Chernyak
    • Tag changed from rails 3.0.0 to rails 3.0.0, patch
    by Maxim Chernyak at 9:15 AM

    Here's patch + test against master.

  • Maxim Chernyak
    Maxim Chernyak commented at 8:54 AM

    Looks like we need to avoid capitalize here: http://github.com/rails/rails/blob/master/actionpack/lib/action_con...

    capitalize not only upcases first letter, b...

2 earlier changes…
Saturday, June 12 2010
3233 Query built wrong for preloading associations nested under polymorphic belong... was updated in Ruby on Rails
  • Maxim Chernyak
    Maxim Chernyak commented at 10:54 PM

    I should probably clarify that this is a patch with both a test and a fix. Not just test.

Tuesday, June 01 2010
3233 Query built wrong for preloading associations nested under polymorphic belong... was updated in Ruby on Rails
  • Maxim Chernyak
    • Tag changed from 2.3.4, polymorphic, preload, sql to 2.3.x, patch, polymorphic, preload, sql, test
    by Maxim Chernyak at 2:27 AM

    Here's a patch with a test for this, for rails 2-3-stable. This is probably irrelevant to Rails3.

Monday, May 31 2010
3233 Query built wrong for preloading associations nested under polymorphic belong... was updated in Ruby on Rails
  • Maxim Chernyak
    Maxim Chernyak commented at 6:08 AM

    Still happens on 2.3.5 with ruby 1.8