devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Devise::Models::Authenticatable#serializable_hash
Redefine serializable_hash in models for more secure defaults. By default, it removes from the serializable model all attributes that are *not* accessible. You can remove this default by using :force_except and passing a new list of attributes you want to exempt. All attributes given to :except will simply add names to exempt to Devise internal list.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open lib/devise/models/authenticatable.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise--Models--Authenticatable-serializable_hash-for-pr
# Commit to gitgit add lib/devise/models/authenticatable.rbgit commit -m "better docs for Devise::Models::Authenticatable#serializable_hash"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Devise--Models--Authenticatable-serializable_hash-for-pr
hub pull-request
# Celebrate!