Quantcast
Channel: ActionView::Template::Error (wrong number of arguments (1 for 0)) with atom_feed after upgrading to rails 3.1.0 - Stack Overflow
Viewing all articles
Browse latest Browse all 2

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

$
0
0

I've just upgrade my rails application from the 3.0.7 version to the release candidate 3.1.0 and I got a strange error located in my atom feed builder:

ActionView::Template::Error (wrong number of arguments (1 for 0)):1: atom_feed do |feed|2:   feed.title("site name")3:  4:   for post in @postsapp/views/posts/index.atom.builder:1:in `_app_views_posts_index_atom_builder___1517323884_2197638100'

It seems to need an argument in the atom_feed method, but I tried to put something in it and it hasn't fixed the problem. It worked before the upgrade.


Viewing all articles
Browse latest Browse all 2




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>