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 /activesupport/CHANGELOG.md | |
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 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 6534c0af85..0781abb6ed 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,5 +1,9 @@ ## Rails 4.0.0 (unreleased) ## +* `to_xml` conversions now use builder's `tag!` method instead of explicit invocation of `method_missing`. + + *Nikita Afanasenko* + * Fixed timezone mapping of the Solomon Islands. *Steve Klabnik* * Make callstack attribute optional in |