标签: ruby-on-rails
如何在index.atom.builder视图文件中使用应用程序助手?
尝试使用它会为“test123”抛出“未定义的方法'xmlschema'”:String
编辑:这是导致问题的代码。
# index.atom.builder atom_feed do |feed| # this application helper method1 returns a string feed.updated method1(Time.now) end