Forum: Ruby on Rails Newbie: undefined method (backtick)body(quote) equals error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ddc0d54f149d72fdaae41962ed62b2f5?d=identicon&s=25 Bill Spornitz (sporb)
on 2006-01-16 18:23
I have set up a simple test of a questionnaire; I have a set of
questions which have a many to many relationship with a set of possible
responses. I have it working so a user can set the range of responses
for a given question, but when trying any of the CRUD operations on the
responses side, I get a cryptic error, to which I see no reference to
online.

Thanks for any tips that may clear this up for me...


-Bill

error text:

undefined method (backtick)body=(quote) for #<Response:0x3828a78>

RAILS_ROOT: ./script/../config/..

e:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in
`method_missing'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:694:in
`erase_render_results'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:712:in
`erase_results'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:28:in
`rescue_action'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:108:in
`perform_action'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in
`send'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in
`process_without_session_management_support'
e:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in
`process'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in
`dispatch'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in
`handle_dispatch'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in
`service'
e:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
e:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
e:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
e:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start'
e:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
e:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start'
e:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each'
e:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start'
e:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
e:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in
`dispatch'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
e:/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
e:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
script/server:3
Ddc0d54f149d72fdaae41962ed62b2f5?d=identicon&s=25 Bill Spornitz (sporb)
on 2006-01-17 20:40
I had created a class called Response; this was overriding another, more
important class called Response ;-> (in the HTTP context of
request/response, no doubt...)

-Bill


Bill Spornitz wrote:
> I have set up a simple test of a questionnaire; I have a set of
> questions which have a many to many relationship with a set of possible
> responses. I have it working so a user can set the range of responses
> for a given question, but when trying any of the CRUD operations on the
> responses side, I get a cryptic error, to which I see no reference to
> online.
>
> Thanks for any tips that may clear this up for me...
>
>
> -Bill
>
> error text:
>
> undefined method (backtick)body=(quote) for #<Response:0x3828a78>
>
This topic is locked and can not be replied to.