AddOmniauthToUsers makes more sense than AddColumnsToUsers
Signout link should be of the method DELETE
The columns provider and uid need to be index, for quick fetching of user on login/signup
Add note about custom sign_out route when sign_out_via = :delete is used
Updated OmniAuth: Overview (markdown)
link to auth hash
add link to omniauth facebook readme
using slice is triggering ForbiddenAttribtuesError on Rails 4.1.5. http://stackoverflow.com/questions/25399414/rails-4-1-5-omniauth-strong-parameters
Move all troubleshooting to a separate section at the end of the guide
Link to wiki page OmniAuth with multiple models
There is no need to call save since the `first_or_create` method already saves the user http://apidock.com/rails/v3.2.1/ActiveRecord/Relation/first_or_create
I come back here to modify the same: it is needed to save the user after the attributes assignment!
Explain when to use `:event => :authentication` and link to SO answer
Refactor from_omniauth method
Revert f038a55^ ... f038a55 on OmniAuth: Overview
Remove unnecessary require. Bundler already requires the omniauth libraries and everyone uses Bundler.
Remove double indentation
Remove a single space from the logout link example
"Before you start" section to warn against adding omniauth middleware in initializer, I've just spent a few hours tracking this hideous clash down
Syntax error in self.find_for_facebook_oauth(auth)
Remove tap so the code block only runs if the user does not exist.
Code in block is executed regardless user existence, password or some user assiciations would be created each time somebody sing in via FB
Remove markdown escaping since GitHub doesn't need it.