This project is archived and is in readonly mode.

Changeset [60bbf16bfd60493c05bf9c9c70ec962a0c482155] by Jeremy Kemper

March 9th, 2010 @ 12:20 AM

class_attribute gets instance methods which delegate to but may override their class values as you'd expect. Disable instance writer methods with :instance_writer => false.
http://github.com/rails/rails/commit/60bbf16bfd60493c05bf9c9c70ec96...

Committed by Jeremy Kemper

  • M activesupport/lib/active_support/core_ext/class/attribute.rb
  • M activesupport/test/core_ext/class/attribute_test.rb

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>