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

Docs/fix for rails 6.0 #66

Merged
merged 5 commits into from
Oct 31, 2023
Merged

Docs/fix for rails 6.0 #66

merged 5 commits into from
Oct 31, 2023

Conversation

sgringwe
Copy link
Contributor

@sgringwe sgringwe commented Oct 19, 2023

Hoping to contribute some small improvements related to rails routing on older rails version 6.0. I ran into a few errors in a rails 6.0.x app, hopefully this saves some pain for others.

https://github.com/rails/rails/blob/6-1-stable/actionpack/CHANGELOG.md and https://github.com/rails/rails/pull/37892/files

The errors I got were:

  • Error that the @app.paths['config/routes'] is nil. This is "fixed" by skipping that path or any other nil paths when injecting paths
  • Error that draw function is undefined when calling it in root routes.rb file. I added a note in README about requiring rails 6.1 for this function.

Open to feedback on approach

Hoping to contribute some small improvements to the documentation. I ran into a few errors in a rails 6.0.x app, hopefully this saves some pain for others.

https://github.com/rails/rails/blob/6-1-stable/actionpack/CHANGELOG.md
@sgringwe sgringwe marked this pull request as ready for review October 19, 2023 00:59
@sgringwe sgringwe changed the title Update README.md Docs/fix for rails 6.0 Oct 19, 2023
@sgringwe sgringwe requested a review from ngan October 19, 2023 14:52
@sgringwe
Copy link
Contributor Author

@ngan ptal!

@sgringwe sgringwe requested a review from ngan October 20, 2023 02:15
@sgringwe
Copy link
Contributor Author

@ngan @technicalpickles ptal :)

@professor professor merged commit 8bb7ce0 into rubyatscale:main Oct 31, 2023
5 checks passed
@sgringwe sgringwe deleted the patch-1 branch October 31, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants