Hi all, I just upgraded to the latest version, 5.0.2. But when I generate the comments' feed, it shows an error screen below: ArgumentError in CommentsController#index wrong number of arguments (2 for 1) /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/option_merger.rb:14:in `find' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/option_merger.rb:14:in `send!' /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/option_merger.rb:14:in `method_missing' app/controllers/comments_controller.rb:40:in `get_feedback' app/controllers/comments_controller.rb:39:in `get_feedback' app/controllers/feedback_controller.rb:22:in `index' app/controllers/feedback_controller.rb:12:in `index' Anyone got any idea why this is happening? Any help would be much appreciated. regards
on 07.01.2008 09:29
on 23.01.2008 00:24
You can fix this by getting rid of the .with_options(this_blog.rss_limit_params) on line 40 of comments_controller.rb, though presumably this then causes all comments to be returned... Not sure why the error is happening, almost seems like with_options isn't accepting a code block.