diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-09-13 23:52:38 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-09-14 00:00:37 +0100 |
commit | 3b8a7cf2a7b2ffce671ca7f655de736c1054edbc (patch) | |
tree | 60884e21ad3458b27f4c9cd116e9f09a7b956078 /activerecord/MIT-LICENSE | |
parent | 778c82bea69eb15908a8bb77999ceac0a749242d (diff) | |
download | rails-3b8a7cf2a7b2ffce671ca7f655de736c1054edbc.tar.gz rails-3b8a7cf2a7b2ffce671ca7f655de736c1054edbc.tar.bz2 rails-3b8a7cf2a7b2ffce671ca7f655de736c1054edbc.zip |
Stop trying to be clever about when to define attribute methods.
There is no meaningful performance penalty in defining attribute
methods, since it only happens once.
There is also no reason *not* to define them, since they get thrown in
an included module, so they will not 'overwrite' anything. In fact, this
is desirable, since it allows us to call super.
Diffstat (limited to 'activerecord/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions