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

Fix route discovery with api! for Rails 5 #465

Closed
wants to merge 1 commit into from

Conversation

sblackstone
Copy link

Since rails deprecated some behavior that the old code depended on, we
just change it to match what its been doing under the hood all along and
avoid having to do a depth first search at the same time.

See rails/rails@4276b21#diff-ccdef70ce0e95afc8816f47f89b56c60 for the commit that caused the regression...

Since rails deprecated some behavior that the old code depended on, we
just change it to match what its been doing under the hood all along and
avoid having to do a depth first search at the same time.
@sblackstone
Copy link
Author

This patch seems to be ok - the error is with the test setup...

@iNecas
Copy link
Member

iNecas commented Jul 19, 2016

Hi, I'm testing this right now + making other things working under Rails 5, I hope to have the resolved soon and get this in.

@mtparet mtparet mentioned this pull request Oct 17, 2016
@MaicolBen
Copy link

MaicolBen commented Dec 1, 2016

@sblackstone Can you rebuild the tests? Seems an random fail

@aminariana
Copy link
Contributor

aminariana commented Dec 14, 2016

Repro:
Use Rails 5.0.0.1
Use Apipie 0.3.7
Call api!

Expected:
To see API documentation

Actual:
Renders whitespace

@aminariana
Copy link
Contributor

Related: #415 and #510

@hasanen
Copy link

hasanen commented Feb 7, 2017

Any progress?

@iNecas
Copy link
Member

iNecas commented Feb 17, 2017

Closed by #527

@iNecas iNecas closed this Feb 17, 2017
@iNecas
Copy link
Member

iNecas commented Feb 18, 2017

apipie-rails-0.4.0 has just been released, the issues should be resolved there

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.

5 participants