aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/delegation.rb
Commit message (Expand)AuthorAgeFilesLines
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Merge pull request #29728 from kirs/frozen-activesupportMatthew Draper2017-07-091-0/+1
|\
| * Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* | Use `map` in `delegate` so that actual prefixed method names are returned, if...Krzysztof Zych2017-07-051-1/+1
|/
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-1/+1
* Assorted delegate_missing_to doc fixesT.J. Schuck2017-05-041-22/+17
* delegate_missing_to should fall back to superMatthew Draper2017-04-091-1/+1
* delegate_to_missing doesn't delegate private methodsMatthew Draper2017-04-091-1/+4
* Not ants were harmed! 🐜Mario Uher2017-02-141-1/+1
* Docs: Correction: Module::DelegationErrorJared Beck2017-02-031-7/+9
* split DELEGATION_RESERVED_METHOD_NAMES in halfToshimaru2016-12-091-4/+5
* Fix typo in Delegation#delegate_missing_to doc [skip ci]Anton Davydov2016-08-271-1/+1
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-8/+8
* systematic revision of =~ usage in ASXavier Noria2016-07-221-2/+3
* Replace Kernel#caller by the faster Kernel#caller_locationsJean Boussier2016-06-101-2/+2
* Don't delegate to private methods of the targerRafael Mendonça França2016-05-241-1/+5
* Merge pull request #23930 from gsamokovarov/module-delegate-missing-toRafael Mendonça França2016-05-241-1/+60
|\
| * Introduce Module#delegate_missing_toGenadi Samokovarov2016-02-271-1/+60
* | Update delegate to use newer Ruby syntaxTodd Lynam2016-04-201-5/+2
|/
* Fixing issue when delegating to methods named "block", "args", or "arg"Jake Bell2015-08-191-5/+6
* Freeze string literals when not mutated.schneems2015-07-191-1/+1
* Reduce allocated memory for Module#delegate.Guo Xiang Tan2015-03-011-1/+1
* Revert 88d08f2ec9f89ba431cba8d0c06ac9ebc204bbbbRafael Mendonça França2015-02-111-12/+24
* English fix [ci skip]George Millo2014-12-121-1/+1
* Delegation works with reserved words passed to `:to`Agis-2014-09-191-1/+9
* Fix confusing exception in ActiveSupport delegationVladimir Yarotsky2014-05-201-25/+13
* define the delegate methods on one line. fixes #13724Aaron Patterson2014-01-161-20/+22
* Revert "methods are defined right after the module_eval, so we don't need to do"Piotr Sarnacki2014-01-161-2/+2
* methods are defined right after the module_eval, so we don't need to doAaron Patterson2014-01-151-2/+2
* Improve Module#delegate documentation to tell that delegate don't work with p...Lauro Caetano2013-11-291-0/+2
* Rely on NoMethodError#name when deciding to raise DelegationError.Federico Ravasio2013-08-121-2/+1
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-07-211-0/+5
|\
| * Enhancing readability of options for delegate methodThiago Pinto2013-07-161-0/+5
* | Only raise DelegationError if it's is the source of the exceptionAndrew White2013-07-111-10/+11
|/
* Move delegation error constant to inside ModuleCarlos Antonio da Silva2013-06-261-2/+4
* Merge pull request #10828 from southpolesteve/delegation_error_classYves Senn2013-06-261-1/+3
|\
| * Add DelegationError class. Rasied by delegation to a nil objectSteve Faulkner2013-06-261-1/+3
* | Fix some typosVipul A M2013-06-071-1/+1
|/
* Use new hash syntax in module delegation docs [ci skip]Carlos Antonio da Silva2013-04-281-1/+1
* Module#delegate checks nilness rather that falsehood if :allow_nil is true, a...Xavier Noria2013-04-261-30/+42
* Delegation method bugLi Ellis Gallardo2013-04-251-0/+14
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-211-1/+0
|\
| * update some AS code examples to 1.9 hash syntax [ci skip]Francesco Rodriguez2012-09-121-10/+9
* | Update delegate docs with new hash syntax [ci skip]Carlos Antonio da Silva2012-09-201-10/+10
* | Add changelog entry and docs about class delegation using the symbol :classCarlos Antonio da Silva2012-09-201-0/+12
* | Nice and easy delegation to the classMarc-Andre Lafortune2012-09-111-0/+3
|/
* no need to to_s here. Both String and Symbol can be interpolated into StringAkira Matsuda2012-06-061-3/+0
* String quotes and trailing spacesAlexey Gaziev2012-04-291-8/+8
* AS core_ext refactoring pt.2Alexey Gaziev2012-04-291-1/+1
* Remove Module#delegate!Daniel Schierbeck2012-04-121-52/+0