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, January 27 2010
3786 I18n exception when error contains two dots was updated in Ruby on Rails
  • Fjan
    Fjan commented at 5:34 PM

    Ok, thanks. By the way, if I18n calls to_sym on my dynamically generated error messages that would probably constitute a memory leak. I guess I'll have to go bu...

Monday, January 25 2010
3786 I18n exception when error contains two dots was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 10:55 AM

    I don't use I18n in this project but it generated an exception in my code because two dots (..) happened to be in an error message, see this code:

    def validate...
Thursday, September 17 2009
3227 attrubute_will_change! gets erased after assignment was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 9:33 PM

    This is probably not a bug, but it seems very likely to trip people up so I suggest adding a note to the documentation

    Person.new
    Person.name_will_change!
    Pers...
Wednesday, September 09 2009
2993 First request will always have an empty body due to delayed load of action_co... was updated in Ruby on Rails
  • Fjan
    Fjan commented at 3:20 PM

    Thanks a million Adam! This bug had me scratching my head for quite a while. I think it's quite unacceptable that there is a small chance of a failing POST afte...

3155 First POST to a fresh production server loses form data was updated in Ruby on Rails
Monday, September 07 2009
3155 First POST to a fresh production server loses form data was created in Ruby on Rails
  • Fjan
    Fjan created the ticket at 10:29 AM

    Just after restarting a production Mongrel if (and only if) the first request to that server is a POST the associated form data gets lost. It is not possible to...

Sunday, August 09 2009
2397 serialized attributes clobbered on partial updates was updated in Ruby on Rails
  • Fjan
    • Assigned user set to Pratik
    • Tag changed from bugmash to activerecord, bugmash, dirty, serialized
    by Fjan at 4:28 PM

    Oops sorry about that last one: we saved at the same time. Thanks for the elegant solution.

  • Fjan
    • Assigned user cleared.
    • Tag changed from activerecord, bugmash, dirty, serialized to bugmash
    by Fjan at 4:25 PM

    So the gist of the #788 discussion is that partial updates are now always saved because their modification typically cannot detected. The earlier solution that ...

788 partial_updates clobbers serialized attributes was updated in Ruby on Rails
  • Fjan
    • Tag changed from 2.1, activerecord, bug, patch to 2.1, activerecord, bug, patch
    by Fjan at 4:13 PM

    Unfortunately, this patch has caused bug 2397: it will now even save serialized attributes if they are not in memory, setting them to null. (Let's continue the...