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

Friday, January 02 2009
1675 Pluralized AR models (think Posts.find(:all) instead of Post.find(:all)) was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 10:23 AM

    The patch is probably going down, still I tried to solve issues that Frederick pointed to.

  • Yaroslav Markin
    Yaroslav Markin commented at 10:23 AM

    The patch is probably going down, still I tried to solve issues that Frederick pointed to.

1634 number_to_human_size helper: fix/introduce pluralization, add 'format' property was updated in Ruby on Rails
  • Yaroslav Markin
    • Assigned user changed from Jeremy Kemper to Sven Fuchs
    by Yaroslav Markin at 8:57 AM
1687 Flexible formatting for AR validation error messages was updated in Ruby on Rails
  • Yaroslav Markin
    • Tag changed from activerecord, error, errors, error_messages_for, i18n, l10n to activerecord, error, errors, error_messages_for, i18n, l10n, patch
    by Yaroslav Markin at 8:56 AM

    Kinda +1 on this one, but this does not also solve the problem with validation messages that don't need formatting, for instance,

    
    You must agree with terms o...
Thursday, January 01 2009
1596 RFC822 shouldn't be localized was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 7:16 PM

    You may have some kind of pre-I18n localization plugin/gem installed that overrides Time#to_s

  • Yaroslav Markin
    Yaroslav Markin commented at 7:15 PM

    Can't reproduce:

    
    Loading development environment (Rails 2.3.0)
    >> I18n.locale
    => :ru
    >> Time.now
    => Thu Jan 01 22:14:11 +0300 2009
    >> Time.now.to_s(:rfc...
1634 number_to_human_size helper: fix/introduce pluralization, add 'format' property was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 6:32 PM

    Sven suggested that translations table should look different, so here we are.

    This way we don't do "random" lookups to translation table for getting max_exp, bu...

Wednesday, December 31 2008
1675 Pluralized AR models (think Posts.find(:all) instead of Post.find(:all)) was updated in Ruby on Rails
  • Yaroslav Markin
    Yaroslav Markin commented at 4:36 PM

    Frederick, you are right, thanks for noticing this.

  • Yaroslav Markin
    Yaroslav Markin commented at 4:01 PM

    Josh, how do you think, is there any way this functionality can be done in a more simple way without complicating stuff? Please share any ideas. Can't really th...

  • Yaroslav Markin
    Yaroslav Markin commented at 3:27 PM

    patch cleanup, sorry