Updating to Rails 2.0 what files?

I updated everything in config/enviroments

Is there anything else I must do to ensure Rails 2.0 is working
properly?

Change RAILS_GEM_VERSION in config/environment.rb and make sure the gem
version is set to ‘2.0.2’ or whatever.

Restart your system

You could also freeze Rails to your vendor/ directory using rake
rails:freeze:edge.

There are some routing changes you should be aware of as well. Nested
new
calls that were done like this:

blog_new_comment_path

are now done like this:

new_blog_comment_path

You’ll also need to set up a secret key in your config/environment.rb,
not
entirely sure on the syntax myself, but your log file should have a nice
error in it if you’re mongrel is crashing.


Ryan B.
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.

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