aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorNikita Afanasenko <nikita@afanasenko.name>2012-11-03 15:25:27 +0400
committerNikita Afanasenko <nikita@afanasenko.name>2012-11-04 14:33:39 +0400
commit9cda6a321e1fb8fd6d0b9d368bd1868fb142b93a (patch)
tree6a55fcb683efac3589f2685173f1e993ad2ae77f /activesupport/CHANGELOG.md
parentc449462f45d342258a01313c0ff46279d268719d (diff)
downloadrails-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.md4
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