Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow generating RBIs in Rails engines #1182

Closed
vinistock opened this issue Sep 22, 2022 · 0 comments · Fixed by #1220
Closed

Allow generating RBIs in Rails engines #1182

vinistock opened this issue Sep 22, 2022 · 0 comments · Fixed by #1220
Assignees
Labels
enhancement New feature or request

Comments

@vinistock
Copy link
Member

In a Rails engine, the Rails application is typically defined inside test/dummy. However, it's a real application and we could load it to inspect the defined models and controllers.

Currently, it does not work because we return early if config/application.rb is not defined in the current directory.

If we could somehow allow this to also point to different paths, like test/dummy/config/application.rb, DSL generation for engines would just work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant