I'm upgrading existing app from Rails 1.2.6 to 2.1.2. I have
encountered following problem with AR objects.
Model definition did not change and with 1.2.6:
params[:flight] = "1111"
params[:airline] = "Air France"
params[:luggage] = 0
is working code, new Reservation. With the same dataset, changing only
Rails to 2.1.2 r.save returns nil, object does not get saved, nothing
in log file. Using save! raises no exception.
Any idea what is going on? I guess something rather strange, since
save should not return nil?
I'm using ruby 1.8.6-p111 on Windows, Rails 2.1.2. Tomorrow I will try
to run it on some Linux with newer Ruby.
I did remove all plugins - no change. Commented out all Reservation
model's validations, functions, etc. No change.
What else I can try?