PDA

View Full Version : RoR upgraded to 2.3.2 FYI



atoms
07-08-2009, 09:34 AM
My HM hosted Rails app stopped working on July 1. I was busy with other stuff and didn't notice it until yesterday.

When I restarted the server manually (script/server -d), it would run, but I'd get an error screen when I tried to load the default page.

There is at least one change from 2.2.2 to 2.3.2 in the expected name of the application controller that you'll need to accommodate somehow. What I did was run this rake task:

#rake rails:update:application_controller
(in /home/ACCOUNTNAME/work/rails/clbot)
/home/ACCOUNTNAME/work/rails/clbot/app/controllers/application.rb has been renamed to /home/ACCOUNTNAME/work/rails/clbot/app/controllers/application_controller.rb, update your SCM as necessary


and now it seems to work fine. I have not tested it much, but so far so good.