This project is archived and is in readonly mode.
problem with upgrade rails 2.3.2 to rails 2.3.8
Reported by lxneng | July 22nd, 2010 @ 03:42 AM
Processing BackofficesController#login (for 192.168.1.4 at
2010-07-22 10:42:22) [GET]
Parameters: {"action"=>"login", "controller"=>"backoffices"}
Rendering backoffices/login
ActionView::TemplateError (undefined method encoding' for
#<String:0xc7793ac>) in
app/views/backoffices/login.html.erb:
Comments and changes to this ticket
-
lxneng July 22nd, 2010 @ 06:54 AM
- Assigned user set to DHH
-
lxneng July 22nd, 2010 @ 07:02 AM
- Assigned user changed from DHH to José Valim
-
José Valim July 22nd, 2010 @ 08:23 AM
- State changed from new to invalid
- Importance changed from to Low
Could you please, please, please give more information? Which Ruby version? What is the whole backtrace?
-
lxneng July 22nd, 2010 @ 08:47 AM
ruby version
ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2009.10backtrace
ss -e production -p 8888
=> Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:8888 /home/eric/workspace/NetBeansProjects/back-end/app/controllers/health_schemes_controller.rb:8: warning: string literal in condition => Call with -d to detach => Ctrl-C to shutdown server [2010-07-22 15:45:54] INFO WEBrick 1.3.1 [2010-07-22 15:45:54] INFO ruby 1.8.7 (2010-04-19) [i686-linux] [2010-07-22 15:45:59] INFO WEBrick::HTTPServer#start: pid=6922 port=8888Processing BackofficesController#index (for 127.0.0.1 at 2010-07-22 15:46:19) [GET]
Parameters: {"action"=>"index", "controller"=>"backoffices"} Rendering template within layouts/backoffices
Rendering backoffices/indexActionView::TemplateError (undefined method
encoding' for #<String:0xc9d4d90>) in app/views/backoffices/index.html.erb:
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
Rendering /home/eric/workspace/NetBeansProjects/back-end/public/500.html (500 Error)
Processing ApplicationController#index (for 127.0.0.1 at 2010-07-22 15:46:19) [GET]
Parameters: {"action"=>"index", "controller"=>"backoffices"}ActionView::TemplateError (undefined method
encoding' for #<String:0xc153cc0>) in public/500.html:
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
Rendering /home/eric/workspace/NetBeansProjects/back-end/public/500.html (500 Error)
/!\ FAILSAFE /!\ 四 7月 22 15:46:19 +0800 2010 Status: 500 Internal Server ErrorActionView::TemplateError (undefined method
encoding' for #<String:0xc0b898c>) in public/500.html:
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start' In public/500.html /usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service' /usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run' /usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' /usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `each' /usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start' /usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>