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.

Dmitry Polushkin's latest activity

Saturday, March 13 2010
3619 Conditional layouts ignore default application wide layout was updated in Ruby on Rails
  • Dmitry Polushkin
    • Tag changed from nested layouts, 2.3.5, conditions, layout to nested layouts, 2.3.5, 2.x, conditions, layout
    by Dmitry Polushkin at 11:04 PM

    Added 2 failed tests for nested/inherited layout with condition and just simple layout with condition.

Friday, March 12 2010
3619 Conditional layouts ignore default application wide layout was updated in Ruby on Rails
  • Dmitry Polushkin
    Dmitry Polushkin commented at 4:35 PM

    OK, I will try to do it tomorrow.

  • Dmitry Polushkin
    • Tag changed from nested layouts, conditions, layout to nested layouts, 2.3.5, conditions, layout
    by Dmitry Polushkin at 4:31 PM

    2.3.5

  • Dmitry Polushkin
    • Tag changed from conditions, layout to nested layouts, conditions, layout
    • Assigned user set to José Valim
    by Dmitry Polushkin at 3:55 PM
Sunday, February 28 2010
1689 Add I18n shortcuts to AR models was updated in Ruby on Rails
  • Dmitry Polushkin
    Dmitry Polushkin commented at 6:51 PM

    I think this should be in the core (I've used "translator" gem in all the multi-language projects). Models will be more clear (and you will never use additional...

Friday, February 26 2010
3217 [Patch] Parsing an xml file with multiple records and extra attributes (besid... was updated in Ruby on Rails
  • Dmitry Polushkin
    • Tag changed from activesupport, hash, xml to 2.3.6, activesupport, hash, xml
    • Assigned user set to Jeremy Kemper
    by Dmitry Polushkin at 3:51 PM

    +1

Monday, January 11 2010
3619 Conditional layouts ignore default application wide layout was updated in Ruby on Rails
  • Dmitry Polushkin
    • Tag changed from layout to conditions, layout
    by Dmitry Polushkin at 6:40 PM

    Tried to do:

    layout nil, :only => [:create, :destroy]
    

    And it also applied for index action. Except does the same.

    Workaround:

    render :layout => false
    

    In eve...

Sunday, November 01 2009
2777 Updating nested attributes with has_one relationship doesn't work correctly was updated in Ruby on Rails
  • Dmitry Polushkin
    Dmitry Polushkin commented at 2:33 PM

    Question, how to solve:

    class Team
      has_one :captain, :class_name => 'Player'
      accepts_nested_attributes_for :captain
    end
    
    class Player
      belongs_to :team
    
     ...
Thursday, October 29 2009
2340 action mailer can't deliver mail via smtp on ruby 1.9.1 was updated in Ruby on Rails
Wednesday, October 21 2009
2777 Updating nested attributes with has_one relationship doesn't work correctly was updated in Ruby on Rails
  • Dmitry Polushkin
    Dmitry Polushkin commented at 1:19 PM

    I agree that it should be reopened. Not smart to pass id for one to one.