Rails 3 to add security enhancement