https://github.com/sixarm/sixarm_ruby_sign_out_simple
SixArm.com » Ruby » SignOutSimple provides typical sign out for a Rails web application
https://github.com/sixarm/sixarm_ruby_sign_out_simple
authentication gem rails ruby
Last synced: 2 months ago
JSON representation
SixArm.com » Ruby » SignOutSimple provides typical sign out for a Rails web application
- Host: GitHub
- URL: https://github.com/sixarm/sixarm_ruby_sign_out_simple
- Owner: SixArm
- License: other
- Created: 2010-05-25T04:56:02.000Z (about 16 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T09:21:13.000Z (about 1 year ago)
- Last Synced: 2026-03-08T23:21:26.731Z (4 months ago)
- Topics: authentication, gem, rails, ruby
- Language: Ruby
- Homepage: http://sixarm.com
- Size: 306 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# SixArm.com → Ruby →
SignOutSimple gem for typical Rails user sign out
[](http://badge.fury.io/rb/sixarm_ruby_sign_out_simple)
[](https://travis-ci.org/SixArm/sixarm_ruby_sign_out_simple)
[](https://codeclimate.com/github/SixArm/sixarm_ruby_sign_out_simple/maintainability)
* Git:
* Doc:
* Gem:
* Contact: Joel Parker Henderson,
* Project: [changes](CHANGES.md), [license](LICENSE.md), [contributing](CONTRIBUTING.md).
## Introduction
SignInSimple provides methods for authentication in apps, such as typical Ruby On Rails web applications.
SignOutSimple clears the current user and shows a flash message.
For docs go to
Want to help? We're happy to get pull requests.
## Install
### Gem
To install this gem in your shell or terminal:
gem install sixarm_ruby_sign_out_simple
### Gemfile
To add this gem to your Gemfile:
gem 'sixarm_ruby_sign_out_simple'
### Require
To require the gem in your code:
require 'sixarm_ruby_sign_out_simple'
## Details
The controller must define this method to clear the user:
current_user=(nil)
Routes must be able to redirect_to:
:sign_out_success
:sign_out_failure