Upgrade to rails 3.2.12

To fix the latest rails security holes

- https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/KtmwSbEpzrU
- https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/AFBKNY7VSH8