Plugin errors

R

Rajkumar Surabhi

HI,

in my applicaition i want to use automatic sesssion cleaning.
i followed the website

http://agilewebdevelopment.com/plugins/limited_sessions


I have download this plugin, then configured session life time in
environment.rb like

CGI::Session::ActiveRecordStore::Session.recent_activity_limit =
2.hours. finally i have started my server while i am getting following
error
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:478:in
`const_missing': uninitialized constant CGI::Session (NameError)

from
/home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:52
from
/usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
`run'
from
/home/manivannan/july1/GenuineTravelsTesting/config/environment.rb:17
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in
`new_constants_in'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in
`require'


how to solve this
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top