aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove `.superclass_delegating_accessor`. Refer #14271Akshay Vishnoi2015-05-241-45/+0
|
* Deprecate Class#superclass_delegating_accessorAkshay Vishnoi2014-03-201-0/+4
|
* Prevent creation of instance methods when `instance_reader = false`, Grammar ↵Akshay Vishnoi2013-12-191-8/+9
| | | | checks, Conditional statements combined
* Indentation for private methodsAlexey Gaziev2012-04-291-17/+15
| | | | https://github.com/rails/rails/commit/e7d55f734aae204115d0a04a2db774ac364c1312
* remove unused require from AS/core_ext/class/delegating_att.rbVishnu Atrai2012-03-101-2/+0
|
* moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵Xavier Noria2010-04-051-1/+1
| | | | there, same for #class_eval to simplify, and adds coverage for class_eval
* Move require closer to homeJeremy Kemper2010-03-171-0/+1
|
* fixing activerecord tests [#4205 state:resolved]Aaron Patterson2010-03-171-2/+2
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix some more warnings on 1.9wycats2010-03-171-0/+2
|
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice.Jeremy Kemper2010-02-251-6/+6
|
* superclass_delegating_accessor rewritten to serve as the base for many other ↵Yehuda Katz2010-01-291-53/+27
| | | | kinds of accessors (step 1 of unification)
* delegating_attributes.rb does not use duplicableXavier Noria2010-01-011-1/+0
|
* Allow :instance_reader to be given to superclass_delegating_accessor as well.José Valim2009-11-011-21/+39
|
* Allow superclass_delegating_accessor to take a block for initial set.Yehuda Katz2009-08-111-3/+4
|
* Fix tests on 1.9Jeremy Kemper2009-04-221-1/+1
|
* Opt in to DependenciesJeremy Kemper2009-04-221-0/+2
|
* Merge branch 'master' into cherryJeremy Kemper2009-04-201-5/+5
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb
| * Sync with rails/rails/master, merge two metaprogramming annotation effortsMichael S. Klishin2008-12-281-16/+17
| |\
| * | Annotated metaprogramming code across ActiveSupportMichael S. Klishin2008-12-281-21/+21
| | |
* | | Indentation, superfluous selfJeremy Kemper2009-03-241-25/+25
| |/ |/|
* | Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-281-19/+20
|/ | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 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
* 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