upgraded to ActiveRecord 3.2.13+
PLEASE NOTE: I am in a rush so I am committing all the changes I need
to have functional - rather than trying to be complete and systematic.
In particular, I have not tested migrations because I don't use them in
the application I have at hand. You have been warned.