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.

Yaroslav Markin's latest activity

Sunday, April 26 2009
2566 Add "a"/"an" inflector - indefinitize() was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 9:00 PM

    Could you please pastie a couple of examples — where do you use this in your code, does it really help a lot?

    Mixed feelings here, maybe some kind of I18n suppo...

Wednesday, April 15 2009
2346 named_scope doesn't override default_scope's :order key was updated in Ruby on Rails
  • Yaroslav Markin
    • Tag changed from 2.3, activerecord, bug, default_scope, named_scope, patch to 2.3, activerecord, bug, default_scope, named_scope, patch, verified
    by Yaroslav Markin at 10:04 PM
2257 default_scope with named_scope or scoped merge broken on 2.3 was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 10:03 PM

    This ticket is totally wrong, #2346 is the correct one. Will wait for cleanup :)

Friday, March 27 2009
2346 named_scope doesn't override default_scope's :order key was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 11:38 AM

    @Eloy AFAIR old Rails Trac used to have something like "+1 only if you've tested it yourself", and I think this is the case here — tests pass, works as expected...

Thursday, March 26 2009
2346 named_scope doesn't override default_scope's :order key was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 4:55 PM

    +1 since 2.3 named_scope merging is a problem for all folks using default_scope

Monday, March 23 2009
1484 Deprecate error_messages_for was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 7:57 PM

    Hi Ryan,

    First of all, this bug is unfinished and somewhat stale, I hope to get to it soon.

    I do think flash (@flash.now@, that is) is great (in fact, it was su...

2257 default_scope with named_scope or scoped merge broken on 2.3 was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 2:03 PM

    @Manfred, Pratik: any chance we can rollback #2193? Seems it causes more trouble then fixes things, count with named_scope(:select => ...) seems to be broken as...

Monday, March 16 2009
2257 default_scope with named_scope or scoped merge broken on 2.3 was created in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin created the ticket at 6:59 PM

    Failing tests included, don't have a solution ATM.

    Reference: #2193

    Basically, if you got a default_scope with :order, named_scopes with different :order will N...

Sunday, February 22 2009
2029 number_to_human_size with fallback to english was updated in Ruby on Rails
Sunday, February 08 2009
1847 to_sentence breaks api was updated in Ruby on Rails