devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Mail::Header#[]=
Sets the FIRST matching field in the header to passed value, or deletes the FIRST field matched from the header if passed nil Example: h = Header.new h.fields = ['To: [email protected]', 'X-Mail-SPAM: 15', 'X-Mail-SPAM: 20'] h['To'] = '[email protected]' h['To'] #=> '[email protected]' h['X-Mail-SPAM'] = '10000' h['X-Mail-SPAM'] # => ['15', '20', '10000'] h['X-Mail-SPAM'] = nil h['X-Mail-SPAM'] # => nil
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Mail--Header-----for-pr
# Commit to gitgit add git commit -m "better docs for Mail::Header#[]="
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Mail--Header-----for-pr
hub pull-request
# Celebrate!