Errors when generating comments' feed to Typo 5.0.2

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:insend!’
/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:inget_feedback’
app/controllers/comments_controller.rb:39:in get_feedback' app/controllers/feedback_controller.rb:22:inindex’
app/controllers/feedback_controller.rb:12:in `index’

Anyone got any idea why this is happening? Any help would be much
appreciated.

regards

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs