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

Refactor History::FinderMethods: use base implementations. #853

Merged

Conversation

marshall-lee
Copy link
Contributor

It also makes first_by_friendly_id better because base implementation
in FriendlyId::FinderMethods uses find_by which is optimized in
Rails 4.2 (so called "Adequate Record").

It also makes `first_by_friendly_id` better because base implementation
in `FriendlyId::FinderMethods` uses `find_by` which is optimized in
Rails 4.2 (so called "Adequate Record").
@parndt
Copy link
Collaborator

parndt commented Jan 22, 2018

This makes total sense, thank you!

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.

2 participants