Update to latest rails 3 version
Merge pull request #980 from theodi/feature-rails-security-fixes

Update to latest rails 3 version