lynndylanhurley / lynndylanhurley/devise_token_auth

Not compatible with Rails 6? "File unchanged! The supplied flag value not found!"

Open
#1,425 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
3.6k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Versions:

  • devise_token_auth (~> 1.1.4)
  • rails (~> 6.0.3)
  • ruby 2.7.1p83

When running the install:

rails g devise_token_auth:install
      create  config/initializers/devise_token_auth.rb
      insert  app/controllers/application_controller.rb
        gsub  config/routes.rb
      create  db/migrate/20200806121308_devise_token_auth_create_users.rb
File unchanged! The supplied flag value not found!  app/models/user.rb

I think it's related to https://github.com/lynndylanhurley/devise_token_auth/issues/1400 and https://github.com/lynndylanhurley/devise_token_auth/pull/1414 is supposed to fix it, but I think the current version (1.1.4) does not include the fix yet.

When will we have a new version of the gem?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report concerns the devise_token_auth install generator on Rails 6 and names app/models/user.rb, issue 1400, and pull request 1414. Check whether the fix from pull request 1414 is included in version 1.1.4, then reproduce rails g devise_token_auth:install. Done means the generator completes without the reported "File unchanged" message.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, ruby
Domain
api, authentication, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.