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.

Fjan's latest activity

Wednesday, March 18 2009
2285 session.to_hash() doesn't lazy load was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 2:48 PM

    session.to_hash forgets to check if it's loaded, returning an empty hash if it's not yet loaded. Workaround is to call session.inspect before accessing session....

Tuesday, March 10 2009
1468 Problem with '%' as first character in a template was updated in Ruby on Rails
  • Fjan
    Fjan commented at 12:55 PM

    It worked fine under rails 2.1.2 so it's unlikely to be ERB

Tuesday, January 27 2009
1802 text_area_tag does not sanitize id value was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 11:57 AM

    The text_area_tag helper is the only tag helper that does not sanitize the name value that goes into the id field, leading to invalid XHTML when called like so:...

Monday, January 05 2009
1453 'get's in integration test unless you are using cookie sessions was updated in Ruby on Rails
  • Fjan
    Fjan commented at 6:21 PM

    Pretty much any integration test will fail as soon as you set the session store to active record and remove the cookie session key. (Which shouldn't be cause fo...

Monday, December 15 2008
1453 'get's in integration test unless you are using cookie sessions was updated in Ruby on Rails
  • Fjan
    Fjan commented at 11:53 PM

    Uhm, no, that's the point of this ticket. We DON'T want to use the cookie store, and yet it gives us errors for not supplying a key (only when testing, rails ru...

  • Fjan
    Fjan commented at 10:32 PM

    I'm not on edge, but in Rails 2.2 you will see almost any test fail as soon as you remove this line from your environment.rb.

    "config.action_controller.session ...

Tuesday, November 25 2008
1453 'get's in integration test unless you are using cookie sessions was updated in Ruby on Rails
  • Fjan
    Fjan commented at 5:42 PM

    It looks like the integration test is actually using the cookie store instead of the configured store, because cookies[SESSION_KEY] changes on every request (ev...

1468 Problem with '%' as first character in a template was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 12:31 PM

    If the first character in an ERB template file is a '%' the first sentence no longer gets recognized as inline Ruby in Rails 2.2.2 (in Rails 2.1.2 it was correc...

Saturday, October 04 2008
788 partial_updates clobbers serialized attributes was updated in Ruby on Rails
  • Fjan
    Fjan commented at 7:17 PM

    Ok, I looked at the code and it seems relatively straightforward to add support for something like:

    ActiveRecord::Base.partial_updates = false | true | :seriali...

  • Fjan
    Fjan commented at 4:48 PM

    Yes, it is in 2.1.1. I understand the reasoning for marking serialized objects as dirty each save, to be consistent with earlier behaviour. But is there any way...