Getting error while submitting form in ruby on rails with radiant

I have issues with radiant cms version 0.8.2.In Application,when i click
submit on form application got an error uninitialized controller which
in radiant/app/controller.

error :

NameError (uninitialized constant ResourceController):
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service’

/usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread’

/usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread’

/usr/lib/ruby/1.8/webrick/server.rb:92:in each’

/usr/lib/ruby/1.8/webrick/server.rb:23:in start’

ResourceController is in

and in the first line of quote_requests_controller.rb, “class
QuoteRequestsController < ResourceController::Base” is there.

rails 2.3.14 ruby 1.8.7 rubygems-update (1.4.2) radiant 0.8.2

i was done googling for this issue please help me to figure out error.

Thanking You,


i tried little bit but it doesn’t helpful to me (with the help of
and stackoverflow suggestions ):

  1. “class Admin::ResourceController < ApplicationController” this is in
    resource_controller.rb file. and i also tried to put
    file out of admin. but it gives error LoadError (Expected
    to define ResourceController):

  2. i also tried to replace “class QuoteRequestsController <
    ResourceController::Base” to “class QuoteRequestsController <
    Admin::ResourceController” but still it gets an error will be same and i
    search by googling to add require “resource_controller” in top of the
    controller but it doesn’t help to solve an error.

Thanking You,

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