diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-12-01 22:30:15 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-12-01 23:41:51 +0000 |
commit | 9ead4130def8bccfdd2c51ddd910ac6a2a8b21ee (patch) | |
tree | 63f9a9c533958ff4cea2e4fe286d9f02a70a728c /activerecord/lib/active_record/associations.rb | |
parent | bd920eae82f83268b2a6ed31c0275255e01bad9f (diff) | |
download | rails-9ead4130def8bccfdd2c51ddd910ac6a2a8b21ee.tar.gz rails-9ead4130def8bccfdd2c51ddd910ac6a2a8b21ee.tar.bz2 rails-9ead4130def8bccfdd2c51ddd910ac6a2a8b21ee.zip |
Create method with known identifier then alias into place.
This means we never have to rely on define_method (which is slower and
uses more memory), even when we have attributes containing characters
that are not allowed in standard method names.
(I am mainly changing this because the duplication annoys me, though.)
Diffstat (limited to 'activerecord/lib/active_record/associations.rb')
0 files changed, 0 insertions, 0 deletions