Re: valid? is not working in Rails 2.2.2

Vipin Vm
Tue, 02 Dec 2008 04:45:19 -0000

Hi All,

My project was started in 1.2.6 then i upgraded to 2.0.2. Last week i
updated it into 2.2.2. Then i got this problem. Then i again moved it
back to 2.0.2 and it worked fine. These are the changes i have made in
my config files.

in env.rb :-
RAILS_GEM_VERSION = ''2.2.2'' unless defined? RAILS_GEM_VERSION
config.time_zone = ''UTC''
config.threadsafe!

database.yml:-
pool: 10
wait_timeout: 10

when i upgraded to 2.2.2, got a new file called new_rails_defaults.rb in
initializers folder.

I created a new project in 2.2.2 and connected to my original db. its
also working fine.