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.

Craig Demyanovich's latest activity

Tuesday, February 16 2010
3956 Add rake task to find unused routes was updated in Ruby on Rails
  • Craig Demyanovich
    Craig Demyanovich commented at 3:37 AM

    Have just been thinking about this, so great timing! While I can't commit now to experimenting with anything from Rails 3, I'd love to see this or something lik...

Wednesday, February 04 2009
230 Fire model callbacks before notifying observers was updated in Ruby on Rails
  • Craig Demyanovich
    Craig Demyanovich commented at 6:56 PM

    I was searching the book, The Rails Way, for an answer to another question when I stumbled upon the "Timing" section on p. 284. It states that, "Observers are n...

Wednesday, November 26 2008
230 Fire model callbacks before notifying observers was updated in Ruby on Rails
  • Craig Demyanovich
    Craig Demyanovich commented at 2:41 PM

    That a model's callbacks fire before any of its observers are notified makes the most sense to me, at least as a default. Indeed, the surprise that they didn't ...

Wednesday, May 21 2008
230 Fire model callbacks before notifying observers was created in Ruby on Rails
  • Craig Demyanovich
    Craig Demyanovich created the ticket at 3:57 PM

    While extracting some behavior from a model callback to an observer, I discovered that observers are notified before model callbacks are fired. I expected the ...