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 [f8e91bda9c171dd0c31dbea95ba4e9ced4ee2547] by Sam Pohlenz

Revision f8e91bda9c171dd0c31dbea95ba4e9ced4ee2547, committed by Sam Pohlenz · October 7th, 2009 @ 03:07 PM

Don't share attribute matchers between classes [#3216 state:resolved]

Allows separate models that include ActiveModel::AttributeMethods to
use different sets of attribute matchers.

Signed-off-by: Joshua Peek josh@joshpeek.com
http://github.com/rails/rails/commit/f8e91bda9c171dd0c31dbea95ba4e9...

2 changed files

  • A activemodel/test/cases/attribute_methods_test.rb
  • M activemodel/lib/active_model/attribute_methods.rb