Keith,
I too am using the "Up and Running" book and had the same problem.
I googled and found that you can fix this by editing:
config/environments/development.rb
and setting:
config.cache_classes = true
Of course, you''ll want to undo that change as soon as you are done
with the console. Otherwise you''ll need to restart scrip/server every
time you changes one of your class definitions.
For the source of this fix visit:
https://rails.lighthouseapp.com/projects/8994/tickets/3153-actioncontrollerintegrationsession-broken-in-234
Enjoy,
Robert
On Jun 14, 9:40 pm, Keith Downs
<li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
wrote:> Running Rails 2.3.5
>
> I am new to Ruby and Rails. From the console I get the following
> ThreadError below. Any suggestions are very welcome.>> app.get
"/slides"
> => 200
> >> app.request.path_parameters
>
> => {"action"=>"index",
"controller"=>"slides"}>> app.get
"/slides/1"
>
> ThreadError: stopping only thread
> note: use sleep to stop forever
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/reloader.rb:31:in `lock''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/reloader.rb:31:in `run''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/dispatcher.rb:108:in `call''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lin
> t.rb:47:in `_call''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lin
> t.rb:35:in `call''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/integration.rb:316:in `process''
> from
> c:/ProgramFiles/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ac
> tion_controller/integration.rb:197:in `get''
> from (irb):3
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.