aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/has_many_association.rb
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-07-18 16:06:21 +0100
committerJon Leighton <j@jonathanleighton.com>2011-08-15 12:38:38 +0100
commit8bba95f293714283f6fc30cb213af54811cccff3 (patch)
tree57dc3f0455622ae001a45f20e4dbf80cee19c071 /activerecord/lib/active_record/associations/has_many_association.rb
parent6f4b405250157c76fea86c42c8b0854ca4a3c4b8 (diff)
downloadrails-8bba95f293714283f6fc30cb213af54811cccff3.tar.gz
rails-8bba95f293714283f6fc30cb213af54811cccff3.tar.bz2
rails-8bba95f293714283f6fc30cb213af54811cccff3.zip
Just do the method call directly in Module#delegate, if we can (we cannot for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods.
Diffstat (limited to 'activerecord/lib/active_record/associations/has_many_association.rb')
0 files changed, 0 insertions, 0 deletions