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.

Geoff Garside's latest activity

Wednesday, November 03 2010
5680 after_update callback called when cascade destroying an association was updated in Ruby on Rails
  • Geoff Garside
    Geoff Garside commented at 5:42 PM

    I've been trying to work around this and noticed that before_destroy isn't called before the association is flushed either, so I can't set an instance variable ...

Saturday, March 27 2010
4048 [PATCH] error_messages_on returning content for methods without errors was updated in Ruby on Rails
  • Geoff Garside
    • Tag changed from actionview, errors, patch to actionview, errors, patch, rails3
    by Geoff Garside at 9:59 AM
Friday, February 26 2010
4048 [PATCH] error_messages_on returning content for methods without errors was updated in Ruby on Rails
  • Geoff Garside
    Geoff Garside commented at 9:00 AM

    Sorry just read the contributor guidelines. Attached single file patch with both the test and fix patches integrated.

Wednesday, February 24 2010
4048 [PATCH] error_messages_on returning content for methods without errors was updated in Ruby on Rails
  • Geoff Garside
    • Tag changed from actionview, errors to actionview, errors, patch
    • Title changed from error_messages_on returning content for methods without errors to [PATCH] error_messages_on returning content for methods without errors
    by Geoff Garside at 11:09 PM
  • Geoff Garside
    Geoff Garside commented at 6:44 PM

    Additionally now pushed these up to a branch on my fork incase thats easier to apply via

    http://github.com/geoffgarside/rails/tree/error_messages_on

  • Geoff Garside
    Geoff Garside commented at 6:42 PM

    Working on the idea of trying to break the rest of AMo and AP::AV the least I changed ActionView::Helpers::ActiveModelHelper#error_messages_on and it was very s...

  • Geoff Garside
    Geoff Garside created the ticket at 6:31 PM

    When using error_messages_on in a form, a <div class="formErrors"></div> element is being rendered into the form for methods without any errors on them.

    Given t...

Thursday, January 14 2010
3689 Observer callback ordering with touched associations is unexpected was updated in Ruby on Rails
  • Geoff Garside
    Geoff Garside commented at 2:46 PM

    I'm not sure at the moment how to fix this within rails itself, for now though I've got the following to work in my observer

    class BunnyObserver < ActiveRecord...
  • Geoff Garside
    Geoff Garside commented at 2:25 PM

    I believe I've managed to determine the cause for this. Using the classes from the provided test as an example when we do the following

    bunny = Bunny.new({:nam...
Wednesday, January 13 2010
3689 Observer callback ordering with touched associations is unexpected was created in Ruby on Rails
  • Geoff Garside
    Geoff Garside created the ticket at 5:30 PM

    I've got a situation where I have a model which has an observer, I'm using the accepts_nested_attributes_for method to allow the model to save its associated ch...