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.

jlewalle (at gmail)'s latest activity

Monday, August 30 2010
5505 ActiveRecord::Base.touch won't dump optimistic locking column. was updated in Ruby on Rails
  • jlewalle (at gmail)
    jlewalle (at gmail) commented at 11:22 PM

    I'll hold off on attempting to fix this on my own until I've got some feedback.

  • jlewalle (at gmail)
    jlewalle (at gmail) created the ticket at 11:21 PM

    Calling touch on an object to increase the updated_at won't increase the optimistic locking column.

    From a quick glance over the history I think that this:

    htt...

Wednesday, July 14 2010
5058 destroy with optimistic locking doesn't set destroyed? flag was updated in Ruby on Rails
  • jlewalle (at gmail)
    jlewalle (at gmail) commented at 3:40 AM

    Can you give me the sha1 of the branch you're applying to?

  • jlewalle (at gmail)
    jlewalle (at gmail) commented at 3:28 AM

    Ah... well.. still weird the patch wasn't working. I'm able to apply with:

    git am < optimistic-locking-destroyed-flag-3.patch

    What's the error you see?

Tuesday, July 13 2010
5058 destroy with optimistic locking doesn't set destroyed? flag was updated in Ruby on Rails
Monday, July 12 2010
5058 destroy with optimistic locking doesn't set destroyed? flag was updated in Ruby on Rails
  • jlewalle (at gmail)
    jlewalle (at gmail) commented at 9:09 PM

    Awesome, let me know if you need anything else from me. Here's the patch with the cleaner assert's.

  • jlewalle (at gmail)
    jlewalle (at gmail) commented at 8:00 PM

    No problem... about the destroy of a new record, that doesn't appear to be the behavior of the non-locking destroy:

    def destroy
      if persisted?
        self.class....