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

ActiveRecord::NotFound -> ActiveRecord::RecordNotFound #1864

Merged
merged 1 commit into from Apr 15, 2017

Conversation

Projects
None yet
2 participants
@alpaca-tc
Contributor

alpaca-tc commented Apr 15, 2017

Fixed bug.

uninitialized constant ActiveRecord::NotFound

BTW, the Rails.application.routes.recognize_path is private API so we really shouldn't use it in application. The only reason it's not been removed already is there's a massive amount of legacy controller routing tests of rails that depend on it.

@Gargron Gargron merged commit 00392d3 into tootsuite:master Apr 15, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
codeclimate no new or fixed issues
Details
@Gargron

This comment has been minimized.

Member

Gargron commented Apr 15, 2017

It may be a private API but it's insanely useful and I don't know of an alternative

@alpaca-tc alpaca-tc deleted the alpaca-tc:patch-2 branch Apr 15, 2017

Nyoho pushed a commit to Nyoho/mastodon that referenced this pull request Apr 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment