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.

Carsten Gehling's latest activity

Thursday, July 01 2010
5014 I18n translated strings are html-escaped in views was updated in Ruby on Rails
Wednesday, June 30 2010
5014 I18n translated strings are html-escaped in views was updated in Ruby on Rails
  • Carsten Gehling
    Carsten Gehling commented at 10:09 AM

    Ah yes of course. :-)

    I am not sure that it is a good idea to patch it then. It'll probably make things more confusing. Shouldn't a developer be able to expect ...

  • Carsten Gehling
    • Tag changed from html_safe, i18n to 3.x, html_safe, i18n
    by Carsten Gehling at 9:15 AM
  • Carsten Gehling
    • Tag changed from i18n html_safe to html_safe, i18n
    by Carsten Gehling at 9:13 AM
  • Carsten Gehling
    Carsten Gehling created the ticket at 9:12 AM

    I don't know if this is expected behavior or an unexpected by-product of Rails now auto-escaping all strings in views, but it bit me when upgrading my app to Ra...

Tuesday, June 15 2010
2155 Please add :position => :replace to link_to_remote (and family) was updated in Ruby on Rails
  • Carsten Gehling
    Carsten Gehling commented at 9:02 AM

    Agreed, but it was also only meant as a short-term fix - until I saw how old this ticket is :-)

    But better yet ATM is the rjs-template file to decouple controll...

  • Carsten Gehling
    Carsten Gehling commented at 7:09 AM

    ...or you could just put your responding RJS code in a template file:

    youraction.rjs

    page.replace 'some_dom_id', :partial => 'new_conten
    

    Then you've got your ...

  • Carsten Gehling
    Carsten Gehling commented at 7:01 AM

    In the meantime, you could use :update and reference an immediate parent container.

    /Carsten

  • Carsten Gehling
    Carsten Gehling commented at 6:52 AM

    I think development focus is more on RJS, but I could sometimes need this too. I'll have a look and see what I can do.

    /Carsten

Saturday, February 27 2010
393 Routes are case sensitive was updated in Ruby on Rails