few changes and update rails to 3.2.11