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.

Bertg's latest activity

Thursday, April 28 2011
4858 [PATCH] ActionMailer is html escaping plain text messages was updated in Ruby on Rails
  • Bertg
    Bertg commented at 9:19 PM

    I have no idea what the status on this ticket is, but the work around we used is to indicate EACH string as html safe manually. That works great :)

Wednesday, February 09 2011
6398 build model on association creates unexpected results was created in Ruby on Rails
  • Bertg
    Bertg created the ticket at 2:06 PM

    Say we have this model

    class Car < ActiveRecord::Base
      # string  name
      # integer wheels
    end
    

    Executing following code

    Car.where(:name  => "Jeff").new #=> <C...
Friday, November 05 2010
4858 ActionMailer is html escaping plain text messages was updated in Ruby on Rails
  • Bertg
    • Tag set to actionview, escaping, formats, html_safe, safe_buffer, xss
    by Bertg at 7:53 PM

    We have been investigating this issue, and it goes beyond ActionMailer.

    We have detected this happening when rendering csv files, ical compatible files etc.. Ba...

Monday, October 18 2010
4969 Fixing config.action_dispatch.x_sendfile_header default was updated in Ruby on Rails
  • Bertg
    Bertg commented at 4:13 PM

    I think the default behaviour is confusing. and the patch should be applied, and have the documentation reflect this behaviour.

    I can't think of any reason why ...

Thursday, September 30 2010
5648 after_filter not halted was updated in Ruby on Rails
  • Bertg
    Bertg commented at 5:30 PM

    Surprised to see no response. Thinking this would be quite a serious issue...

Friday, September 17 2010
5648 after_filter not halted was updated in Ruby on Rails
  • Bertg
    Bertg commented at 1:57 PM

    I'm seeing and expecting the same behaviour. I'm noticing that the compiled callback does not put any conditions on an after filter.

    _conditional_callback_arou...
Monday, June 28 2010
4873 Fail to force_reload polymorphic associations was updated in Ruby on Rails
  • Bertg
    • Importance changed from to Low
    by Bertg at 9:49 AM

    Is there a way I can help resolve this problem?

    I can build a fix, but i just need to know "how" to design it. Currently the problem lays in "reflection.klass" ...

Thursday, June 17 2010
4873 Fail to force_reload polymorphic associations was updated in Ruby on Rails
  • Bertg
    • Tag changed from rails 2.3.8, rails 3.0.0.beta4, associations, belongs_to, cache, polymorphic, testcase, uncached to rails 2.3.8, rails 3.0.0.beta4, associations, belongs_to, bug, cache, patch, polymorphic, regression, testcase, uncached
    by Bertg at 8:47 AM
Wednesday, June 16 2010
4873 Fail to force_reload polymorphic associations was updated in Ruby on Rails
  • Bertg
    • Tag changed from rails 3.0.0.beta4, associations, belongs_to, cache, polymorphic, testcase, uncached to rails 2.3.8, rails 3.0.0.beta4, associations, belongs_to, cache, polymorphic, testcase, uncached
    by Bertg at 4:41 PM
  • Bertg
    • Tag changed from rails 3.0.0.beta4, associations, belongs_to, polymorphic, testcase to rails 3.0.0.beta4, associations, belongs_to, cache, polymorphic, testcase, uncached
    by Bertg at 4:38 PM

    Created a working testcase (test.diff).
    This test proves that polymorphic associations fail to force_load.

    assert_nothing_raised { sponsor.sponsorable(true) }

    f...