aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removed deprecated methods and related tests from ActiveSupportJosh Kalderimis2011-05-251-178/+0
|
* Remove extra white spaces on ActiveSupport docs.Sebastian Martinez2011-05-231-1/+1
|
* Don't print deprecation warnings every time the user reads or writes an ↵Michael Koziarski2011-05-171-2/+0
| | | | inheritable attribute. The warnings on declaration is enough.
* class inheritable attributes is used no more! all internal use of class ↵Josh Kalderimis2010-11-201-0/+9
| | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com>
* bye bye extlib_inheritable_*, AS callbacks now using class_attributeJosh Kalderimis2010-11-181-83/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* PERF: more Hash + map changesSantiago Pastorino2010-10-031-3/+3
|
* recommended is the right word hereSantiago Pastorino2010-08-151-1/+1
|
* deprected -> deprecatedSantiago Pastorino2010-08-141-1/+1
|
* applied guidelines to "# =>"Paco Guzman2010-08-121-2/+2
|
* correcting wrong exampleNeeraj Singh2010-08-061-1/+1
|
* fixing typoNeeraj Singh2010-08-051-1/+1
|
* more documentation for class_inheritable_*Neeraj Singh2010-08-051-0/+22
|
* polishing commentsNeeraj Singh2010-07-261-3/+3
|
* removed 'unless const_defined?' code smellJosh Kalderimis2010-06-211-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* in Ruby things in general happen at runtime, no need to specify thatXavier Noria2010-05-191-2/+3
|
* Updating the doc with the info that class_inheritable_accessorNeeraj Singh2010-05-191-0/+2
| | | | copies properties to child at runtime
* Fix inheritance issue with new callbacks.José Valim2010-01-011-1/+2
|
* Missed cherry-pick from 2e37effd7203cad84459661e11db2be44586cb4fJeremy Kemper2009-10-191-0/+1
|
* Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵José Valim2009-10-171-12/+16
| | | | responder to be set in the class level.
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-021-2/+4
|
* Fix dependencies revealed by testing in isolationJeremy Kemper2009-04-221-1/+3
|
* Helpers with an initial testYehuda Katz2009-03-031-3/+3
|
* First, very early, AbstractController code. More to comeYehuda Katz2009-02-241-0/+79
|
* Sync with rails/rails/master, merge two metaprogramming annotation effortsMichael S. Klishin2008-12-281-27/+27
|\
| * Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-34/+34
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | Annotated metaprogramming code across ActiveSupportMichael S. Klishin2008-12-281-29/+29
|/
* 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
|
* Refactored in use of extract_options! (closes #9079) [josh]David Heinemeier Hansson2007-07-241-3/+3
| | | | 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-281-0/+10
| | | | | | #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
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-0/+115
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