heartcombo/devise

Flexible authentication solution for Rails with Warden.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 59 minutes ago
Added to GitGenius on June 21st, 2026
Created on September 16th, 2009
Open Issues & Pull Requests: 230 (+0)
Number of forks: 5,480
Total Stargazers: 24,351 (+0)
Total Subscribers: 432 (+0)

Issue Activity (beta)

Open issues: 56
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 1,298 days
Stale 30+ days: 54
Stale 90+ days: 49

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • PR attached (8)
  • Feature (5)
  • Needs more info (5)
  • Bug (3)
  • Discussion (2)
  • Needs PR (1)
  • Needs debugging (1)
  • Omniauth bug (1)

Repository Insights (GitGenius)

Median issue/PR response: 5.3 days
Mean response time: 198.5 days
90th percentile: 749.7 days
Tracked items: 156

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed. Three people close 80% of everything that gets resolved.

Detailed Description

Devise is a flexible authentication solution for Rails built on top of Warden that provides a complete Model-View-Controller implementation through Rails engines. The library is Rack-based and allows applications to have multiple models signed in simultaneously while maintaining a modular architecture where developers only need to include the specific authentication features they require.

The core of Devise consists of ten distinct modules that handle different aspects of user authentication and account management. Database Authenticatable handles password hashing and storage for traditional sign-in flows, supporting both POST requests and HTTP Basic Authentication. Omniauthable integrates OmniAuth support for third-party authentication providers. Confirmable manages email-based account verification by sending confirmation instructions and validating account status during sign-in. Recoverable enables password reset functionality with email-based reset instructions. Registerable handles user registration, account editing, and account deletion. Rememberable manages persistent login tokens stored in cookies. Trackable records sign-in counts, timestamps, and IP addresses for user activity monitoring. Timeoutable automatically expires sessions after periods of inactivity. Validatable provides email and password validation with customization options. Lockable protects accounts by locking them after failed sign-in attempts, with unlock options via email or time-based expiration.

The repository supports multiple Ruby and Rails versions aligned with their respective maintenance policies, and works with both ActiveRecord and Mongoid object-relational mappers. The test suite uses minitest as its framework and can be executed with environment variables to specify the ORM and Rails version being tested. Devise 5 requires Rails 7 onwards and is installed as a gem with generators that scaffold user models and configure routes automatically.

The project maintains comprehensive documentation through its wiki, RDoc references, and example applications demonstrating various features across different Rails versions. The README explicitly advises developers new to Rails to build authentication systems from scratch first before adopting Devise, as the library requires solid understanding of Rails fundamentals. Security-related bug reports are handled through a dedicated email address rather than the public issue tracker. The community has developed numerous extensions that build upon Devise's core functionality, and these are catalogued in the project's wiki for discoverability.

devise
by
heartcomboheartcombo/devise

Repository Details

Fetching additional details & charts...