首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Ruby on Rails插件更好的ActiveRecord XML序列化

Ruby on Rails插件更好的ActiveRecord XML序列化

  • 资源大小:6.38 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 插件 rubyonrails 更好 序列化

资 源 简 介

CustomXMLSerialization is a Ruby on Rails plug-in that allows you more freedom in how your model objects are serialized using the to_xml method in ActiveRecord::XmlSerialization. Your ActiveRecord subclasses can specify a complete custom serialization, without having to override to_xml in each object. You can specify exactly which fields to include in a serialization, apply custom tag names, enclose data in CDATA constructs, and unwrap superfluous second-level associations into more brief first-level fields. For more information and examples of usage, visit the overview page at http://code.google.com/p/custom-xml-serialization/wiki/Overview

文 件 列 表

custom_xml_serialization
init.rb
install.rb
lib
Rakefile
README
tasks
test
uninstall.rb

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.163721s