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.

Michael Lovitt's latest activity

Tuesday, June 22 2010
4938 [PATCH] Session fixes: sessions should not be created until written to; and s... was updated in Ruby on Rails
  • Michael Lovitt
    • Tag changed from patch to 3.x, patch
    by Michael Lovitt at 11:53 PM
  • Michael Lovitt
    • Tag set to patch
    by Michael Lovitt at 11:49 PM
  • Michael Lovitt
    Michael Lovitt created the ticket at 11:33 PM

    This patch resolves two issues with Rails session behavior:

    1) Sessions should not be created until written to

    The implementation of Rails lazy-loading sessions...

Monday, January 12 2009
1735 after_save callback should not be called if a before_* callback was cancelled was created in Ruby on Rails
  • Michael Lovitt
    Michael Lovitt created the ticket at 5:35 AM

    Two problems:

    • When creating an AR object, if a before_create callback returns false, any after_save callbacks will still be invoked.
    • When updating an AR object...
Thursday, July 03 2008
543 Logging from rake tasks is broken in production environment was created in Ruby on Rails
  • Michael Lovitt
    Michael Lovitt created the ticket at 1:53 PM

    To reproduce, create a fresh Rails project, put the attached test_logging.rake file inside /lib/tasks, and then run:

    rake test_logging RAILS_ENV=production

    T...