index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
lib
/
active_support
/
core_ext
/
module
/
delegation.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Update delegate to use newer Ruby syntax
Todd Lynam
2016-04-20
1
-5
/
+2
*
Fixing issue when delegating to methods named "block", "args", or "arg"
Jake Bell
2015-08-19
1
-5
/
+6
*
Freeze string literals when not mutated.
schneems
2015-07-19
1
-1
/
+1
*
Reduce allocated memory for Module#delegate.
Guo Xiang Tan
2015-03-01
1
-1
/
+1
*
Revert 88d08f2ec9f89ba431cba8d0c06ac9ebc204bbbb
Rafael Mendonça França
2015-02-11
1
-12
/
+24
*
English fix [ci skip]
George Millo
2014-12-12
1
-1
/
+1
*
Delegation works with reserved words passed to `:to`
Agis-
2014-09-19
1
-1
/
+9
*
Fix confusing exception in ActiveSupport delegation
Vladimir Yarotsky
2014-05-20
1
-25
/
+13
*
define the delegate methods on one line. fixes #13724
Aaron Patterson
2014-01-16
1
-20
/
+22
*
Revert "methods are defined right after the module_eval, so we don't need to do"
Piotr Sarnacki
2014-01-16
1
-2
/
+2
*
methods are defined right after the module_eval, so we don't need to do
Aaron Patterson
2014-01-15
1
-2
/
+2
*
Improve Module#delegate documentation to tell that delegate don't work with p...
Lauro Caetano
2013-11-29
1
-0
/
+2
*
Rely on NoMethodError#name when deciding to raise DelegationError.
Federico Ravasio
2013-08-12
1
-2
/
+1
*
Merge branch 'master' of github.com:rails/docrails
Vijay Dev
2013-07-21
1
-0
/
+5
|
\
|
*
Enhancing readability of options for delegate method
Thiago Pinto
2013-07-16
1
-0
/
+5
*
|
Only raise DelegationError if it's is the source of the exception
Andrew White
2013-07-11
1
-10
/
+11
|
/
*
Move delegation error constant to inside Module
Carlos Antonio da Silva
2013-06-26
1
-2
/
+4
*
Merge pull request #10828 from southpolesteve/delegation_error_class
Yves Senn
2013-06-26
1
-1
/
+3
|
\
|
*
Add DelegationError class. Rasied by delegation to a nil object
Steve Faulkner
2013-06-26
1
-1
/
+3
*
|
Fix some typos
Vipul A M
2013-06-07
1
-1
/
+1
|
/
*
Use new hash syntax in module delegation docs [ci skip]
Carlos Antonio da Silva
2013-04-28
1
-1
/
+1
*
Module#delegate checks nilness rather that falsehood if :allow_nil is true, a...
Xavier Noria
2013-04-26
1
-30
/
+42
*
Delegation method bug
Li Ellis Gallardo
2013-04-25
1
-0
/
+14
*
Merge branch 'master' of github.com:lifo/docrails
Vijay Dev
2012-09-21
1
-1
/
+0
|
\
|
*
update some AS code examples to 1.9 hash syntax [ci skip]
Francesco Rodriguez
2012-09-12
1
-10
/
+9
*
|
Update delegate docs with new hash syntax [ci skip]
Carlos Antonio da Silva
2012-09-20
1
-10
/
+10
*
|
Add changelog entry and docs about class delegation using the symbol :class
Carlos Antonio da Silva
2012-09-20
1
-0
/
+12
*
|
Nice and easy delegation to the class
Marc-Andre Lafortune
2012-09-11
1
-0
/
+3
|
/
*
no need to to_s here. Both String and Symbol can be interpolated into String
Akira Matsuda
2012-06-06
1
-3
/
+0
*
String quotes and trailing spaces
Alexey Gaziev
2012-04-29
1
-8
/
+8
*
AS core_ext refactoring pt.2
Alexey Gaziev
2012-04-29
1
-1
/
+1
*
Remove Module#delegate!
Daniel Schierbeck
2012-04-12
1
-52
/
+0
*
Add back the old `deprecate` method as `deprecate!`
Daniel Schierbeck
2012-04-12
1
-0
/
+52
*
Change API docs regarding delegation to non-public methods
Daniel Schierbeck
2012-04-12
1
-1
/
+1
*
Optimize the performance of #delegate
Daniel Schierbeck
2012-04-12
1
-9
/
+13
*
Remove deprecation from AS::Deprecation behavior, some minor cleanups
Carlos Antonio da Silva
2012-03-16
1
-7
/
+9
*
Fix indentation in code example of Delegation
Tomasz Zurkowski
2012-01-20
1
-19
/
+19
*
Revert all the stuff to do with disallowing non-public methods for Module#del...
Jon Leighton
2011-08-25
1
-6
/
+2
*
prefer ends_with? over slicing
Xavier Noria
2011-08-16
1
-1
/
+2
*
Add a test for delegating a method ending in '=' as this is a special case.
Jon Leighton
2011-08-15
1
-0
/
+1
*
Need to include public_send
Arun Agrawal
2011-08-15
1
-0
/
+1
*
Split up the definitions in Module#delegate depending on :allow_nil, and don'...
Jon Leighton
2011-08-15
1
-17
/
+22
*
Fix the line number in the backtrace when Module#delegate raises
Jon Leighton
2011-08-15
1
-1
/
+1
*
Just do the method call directly in Module#delegate, if we can (we cannot for...
Jon Leighton
2011-08-15
1
-1
/
+4
*
Refactored to more closely resemble idiom applied for on_nil
Evan Light
2011-08-05
1
-5
/
+11
*
Remove unnecessary require (happened after fcbde454f6)
Dmitriy Kiriyenko
2011-08-01
1
-2
/
+0
*
Don't do remove_possible_method when delegate is used. Two reasons: 1) warnin...
Jon Leighton
2011-07-18
1
-4
/
+0
*
Simplify boolean logic into ternary.
Ben Orenstein
2011-06-08
1
-1
/
+1
*
delegate method should treat :prefix => false same as :prefix => nil
Neeraj Singh
2010-09-01
1
-1
/
+1
*
fisting stack trace [#4349 state:resolved]
Aaron Patterson
2010-04-08
1
-1
/
+1
[next]