diff options
author | Bernerd Schaefer <bj.schaefer@gmail.com> | 2010-07-17 16:45:19 -0500 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-26 09:48:22 -0700 |
commit | e87e3db200e5b711237da8bcdc873044a984ad90 (patch) | |
tree | 06aaa658f144528635854a2aeacbf3ce0c6f0364 /railties/guides | |
parent | 4ea1753fc2bcbaca0a50073463ef4b020a2e3c5f (diff) | |
download | rails-e87e3db200e5b711237da8bcdc873044a984ad90.tar.gz rails-e87e3db200e5b711237da8bcdc873044a984ad90.tar.bz2 rails-e87e3db200e5b711237da8bcdc873044a984ad90.zip |
XmlMini.rename_key emits valid xml with dasherize
This resolves issues for libraries which use '_' prefixed keys in their
attributes hash, such as Mongoid. A key like "_id" or "_type" will no
longer be converted to "<-id>" and "<-type>".
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'railties/guides')
0 files changed, 0 insertions, 0 deletions