diff options
author | Nikita Afanasenko <nikita@afanasenko.name> | 2012-11-03 15:25:27 +0400 |
---|---|---|
committer | Nikita Afanasenko <nikita@afanasenko.name> | 2012-11-04 14:33:39 +0400 |
commit | 9cda6a321e1fb8fd6d0b9d368bd1868fb142b93a (patch) | |
tree | 6a55fcb683efac3589f2685173f1e993ad2ae77f /activerecord/lib/active_record/associations/builder | |
parent | c449462f45d342258a01313c0ff46279d268719d (diff) | |
download | rails-9cda6a321e1fb8fd6d0b9d368bd1868fb142b93a.tar.gz rails-9cda6a321e1fb8fd6d0b9d368bd1868fb142b93a.tar.bz2 rails-9cda6a321e1fb8fd6d0b9d368bd1868fb142b93a.zip |
Use `tag!` instead of `method_missing` in `to_xml` conversions.
Since version `3.0.x` `Builder` caches method passed to `method_missing` each time. This commit replaces `method_missing` call with `tag!` call to prevent method redefinition on each `to_xml` call with the same builder.
Diffstat (limited to 'activerecord/lib/active_record/associations/builder')
0 files changed, 0 insertions, 0 deletions