devise

https://github.com/plataformatec/devise

Ruby

Flexible authentication solution for Rails with Warden.

Devise::ParameterFilter#stringify_params

Force keys to be string to avoid injection on mongoid related database.

Source | Google | Stack overflow

Edit

git clone [email protected]:plataformatec/devise.git

cd devise

open lib/devise/parameter_filter.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Devise--ParameterFilter-stringify_params-for-pr


# Commit to git

git add lib/devise/parameter_filter.rbgit commit -m "better docs for Devise::ParameterFilter#stringify_params"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Devise--ParameterFilter-stringify_params-for-pr

hub pull-request


# Celebrate!