ruby-grape / ruby-grape/grape

Rails 7 has removed ActiveSupport::Dependencies. How should reloading be done now?

Open
#2,238 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug? you can help
Dominant language
Ruby
Stars
10k
Forks
1.2k
Avg merge
14h 38m
Merged PRs (30d)
92

Description

https://github.com/ruby-grape/grape/issues/358
https://github.com/ruby-grape/grape#reloading-api-changes-in-development
We have:

 ActiveSupport::Dependencies.explicitly_unloadable_constants += [
    'GrapeAPI::V1::RootEndpoint',
    'GrapeAPI::RootEndpoint'
  ]

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

Start with the linked ruby-grape/grape issue and the repository's “reloading API changes in development” section, then trace how the shown ActiveSupport::Dependencies configuration is used. Done means establishing and documenting or implementing the Rails 7-compatible reloading approach for these constants.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.