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.

Aliaksey Kandratsenka's latest activity

Monday, November 03 2008
1319 [patch] don't eval recognize_optimized as part of recognition_optimization.rb... was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 10:04 AM

    Passing FILE and LINE__ in eval of recognize_optimized mixes lines of recognition_optimization.rb and lines of generated code. This is not good.

    This also produ...

Wednesday, October 08 2008
1178 [PATCH] re-implemented support for updating a belongs to association from the... was updated in Ruby on Rails
  • Aliaksey Kandratsenka
    • Tag changed from activerecord, associations, belongs_to, bug, patch to activerecord, associations, belongs_to, bug, patch
    by Aliaksey Kandratsenka at 7:05 AM

    That's possible aproach. And I considered that. But I think that write_attribute is important. Otherwise it won't be able to cleanly override attribute setter b...

Monday, October 06 2008
1178 [PATCH] re-implemented support for updating a belongs to association from the... was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 6:13 PM

    I've encountered a bug in this new feature. While fixing it I realized that there're a whole bunch of bugs.

    The proposed patch has tests for all found bugs and ...

Saturday, October 04 2008
1170 [PATCH] Return processing lock to dispatcher. This fixes class reloading race... was updated in Ruby on Rails
  • Aliaksey Kandratsenka
    • Tag changed from activerecord, patch, race to actionpack, patch, race
    by Aliaksey Kandratsenka at 5:18 PM

    Uploading new patch which doesn't remove allow_concurrency flag

  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 3:30 PM

    The problem is that even if concurrency is turned off, class reloading in development mode is not guarded by any lock.

    This causes errors like this 'NameError: ...

1173 [PATCH] Fix performance bug in AttibuteMethods#respond_to? in handling of pri... was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 3:44 PM

    We have hit dramatic increase in tests time after upgrading rails. Profiling revealed this particular place. After this fix our test times returned back to norm...

1172 [PATCH] made #validates_numericality_of reject huge numbers which parse as in... was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 3:42 PM

    Some large numbers like 1E400 parse like infinity. I want those to be rejected by #assert_numericality_of.

    There's a related issue in mysql bindings which simpl...

1171 [PATCH] call clear_active_connections! in :after_dispatch to give pooled conn... was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 3:38 PM

    Current rails does not return connections back to pool. I believe that people haven't run into this because of 2 things: persistent connections (which means tha...

1169 [PATCH] Fix race in ConnectionPool#checkout was created in Ruby on Rails
  • Aliaksey Kandratsenka
    Aliaksey Kandratsenka created the ticket at 3:28 PM

    See patch.

    After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is alre...

1168 [PATCH] don't quote decimal values for mysql. It doesn't make sence and break... was created in Ruby on Rails