This project is archived and is in readonly mode.

#3216 ✓resolved
Sam Pohlenz

Don't share attribute method matchers between classes

Reported by Sam Pohlenz | September 16th, 2009 @ 11:23 AM | in 3.0.2

Currently, any class that includes ActiveModel::AttributeMethods will share its attribute matchers with another class including the AttributeMethods module.

This patch fixes this by using an inheritable_reader/writer for attribute_method_matchers in ActiveModel::AttributeMethods.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages