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.

This project is archived and is in readonly mode.

Changeset [c2ca73c9ee5fc3dadf69cf565bd5e2bb30c82c50] by Mislav Marohnić

Revision c2ca73c9ee5fc3dadf69cf565bd5e2bb30c82c50, committed by Mislav Marohnić · April 16th, 2010 @ 09:09 PM

ActiveModel::Observing: stop using Observable Ruby module, re-implement notify_observers

Observable#notify_observers from Ruby always returns false (which halts ActiveRecord callback chains) and has extra features (like changed) that were never used.

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net
http://github.com/rails/rails/commit/c2ca73c9ee5fc3dadf69cf565bd5e2...

2 changed files

  • M activemodel/lib/active_model/observing.rb
  • M activerecord/test/cases/lifecycle_test.rb