aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class
Commit message (Collapse)AuthorAgeFilesLines
* Indentation, superfluous selfJeremy Kemper2009-03-241-25/+25
|
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-283-77/+78
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Whitespace.Clemens Kofler2008-09-031-5/+5
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use #duplicable? instead of anonymous rescueJeremy Kemper2008-05-121-1/+1
|
* Improve documentation coverage and markupXavier Noria2008-05-021-1/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Improve documentation.Pratik Naik2008-04-051-8/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add query methods for superclass_delegating_readerJeremy Kemper2008-03-311-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve documentation.Pratik Naik2008-03-261-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add new superclass_delegating_accessors. Similar to class inheritable ↵Michael Koziarski2007-10-291-0/+40
| | | | | | attributes but with subtly different semantics. [Koz, tarmo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some 1.9 forward compatibilityJeremy Kemper2007-09-141-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-242-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix problem with EMPTY_INHERITABLE_ATTRIBUTES being redefinedRick Olson2007-02-041-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix #write_inheritable_attribute bug that crept inRick Olson2007-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Optimize Class Inheritable Attributes so that unnecessary hashes are not ↵Rick Olson2007-02-041-5/+14
| | | | | | created. Closes #7472 [Bruce Perens] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :instance_writer option to #mattr_writer/accessor, ↵Rick Olson2007-01-282-0/+14
| | | | | | #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issue with #class_inheritable_accessor saving updates to the parent ↵Rick Olson2006-10-021-1/+6
| | | | | | class when initialized with an Array or Hash [mojombo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove ::Controllers related cruft; fix AP testsNicholas Seckar2006-02-261-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Class.remove to not blow up on inheritanceDavid Heinemeier Hansson2006-02-041-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Reloadable to handle the case where a class that has been 'removed' has ↵Nicholas Seckar2006-02-041-0/+7
| | | | | | not yet been garbage collected. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Further improvements to reloading codeNicholas Seckar2006-02-021-9/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-293-0/+180
module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de