Wrong number of arguments

2 views
Skip to first unread message

Karl Shea

unread,
Jul 10, 2009, 6:32:16 PM7/10/09
to resource_controller
I'm getting the error "wrong number of arguments (3 for 0)" all over
the place when using Rails 2.3.2 and resource_controller 0.6.5.

The stack trace shows this partway through:

/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
mime_responds.rb:107:in `respond_to'
/Project_Path/vendor/gems/giraffesoft-resource_controller-0.6.5/lib/
resource_controller/helpers/internal.rb:12:in `response_for'
/Project_Pathvendor/gems/giraffesoft-resource_controller-0.6.5/lib/
resource_controller/actions.rb:7:in `index'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.2/lib/action_controller/
base.rb:1322:in `send'

When I try to debug through it, the respond_to is choking when being
passed what looks like the :html symbol.

I'm completely at a loss as to why this is happening. The project was
upgraded to Rails 2.3.2 and I'm trying to get it working on this
release, but I can't get past this.

Any ideas on where I should start looking for what's causing this
error?

Karl Shea

unread,
Jul 20, 2009, 4:18:23 PM7/20/09
to resource_controller
Figured it out. Didn't have anything to do with r_c.
Reply all
Reply to author
Forward
0 new messages