{"id":19856940,"url":"https://github.com/johnvuko/jt-rails-generator-user","last_synced_at":"2026-06-14T10:32:01.288Z","repository":{"id":34491027,"uuid":"38430832","full_name":"johnvuko/jt-rails-generator-user","owner":"johnvuko","description":"Generate a scaffold for user authentication in Ruby On Rails.","archived":false,"fork":false,"pushed_at":"2018-09-09T12:28:50.000Z","size":19,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-19T16:52:12.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnvuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-02T12:14:02.000Z","updated_at":"2019-03-19T02:59:16.000Z","dependencies_parsed_at":"2022-09-14T10:02:24.771Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/jt-rails-generator-user","commit_stats":null,"previous_names":["johnvuko/jt-rails-generator-user"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fjt-rails-generator-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fjt-rails-generator-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fjt-rails-generator-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fjt-rails-generator-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/jt-rails-generator-user/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241246110,"owners_count":19933299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T14:17:02.484Z","updated_at":"2026-06-14T10:31:56.268Z","avatar_url":"https://github.com/johnvuko.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JTRailsGeneratorUser\n\n[![Gem Version](https://badge.fury.io/rb/jt-rails-generator-user.svg)](http://badge.fury.io/rb/jt-rails-generator-user)\n\nJTRailsGeneratorUser is a generator for user authentication. You have the login and sign up page and password forgot feature.\n\n## Installation\n\nJTRailsGeneratorUser is distributed as a gem, which is how it should be used in your app.\n\nInclude the gem in your Gemfile:\n\n    gem 'jt-rails-generator-user', '~\u003e 1.0'\n\n## Usage\n\nYou just have to use the generator with:\n\n\trails g jt:user\n\nInclude `CurrentUser` in your `ApplicationController`:\n\n```ruby\nclass ApplicationController \u003c ActionController::Base\n\tinclude CurrentUser\n\t...\nend\n```\n\n## What's does it generate?\n\n- `User` model with only email, password and password_token (for password forgot feature)\n- `SessionController` for the login\n- `UsersController` for the sign up and password forgot feature\n- `UserMailer` for sending password reset instructions \n- `CurrentUser` module which manage `current_user` variable and `require_user` filter \n\n## Author\n\n- [Jonathan VUKOVICH TRIBOUHARET](https://github.com/jonathantribouharet) ([@johnvuko](https://twitter.com/johnvuko))\n\n## License\n\nJTRailsGeneratorUser is released under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjt-rails-generator-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fjt-rails-generator-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjt-rails-generator-user/lists"}