Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查询我的 Rails 应用程序以获取一些具有急切加载关联的查找的 XML 编码返回。有没有一种简单的方法来批量更新所有内容?一个更可取的解决方案是发回具有相同结构的修改后的 XML 并使用它调用 update()。
这已经实施了!
根据官方发布说明,Rails 2.3 中应该可以使用不同的语法。
这是官方文档。