ActionView::Template::Error (wrong number of arguments (1 for 0)) with atom_feed after upgrading to rails 3.1.0

依然范特西╮ 提交于 2019-12-01 06:05:24

Builder 3.0 is not compatible with fast_xs 0.8.0 on ruby 1.8.7 and will give this error. Perhaps you have that installed? (also note that Hpricot bundles fast_xs 0.8.0)

(edit:) you can monkey patch it by dropping this in your config dir:

class String
  def fast_xs_absorb_args(*args); fast_xs; end
  alias_method :to_xs, :fast_xs_absorb_args
end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!