Skip to content
New issue

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

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

Already on GitHub? # to your account

Add find_by as an alias of first #14

Merged
merged 1 commit into from
Dec 25, 2020
Merged

Add find_by as an alias of first #14

merged 1 commit into from
Dec 25, 2020

Conversation

tagliala
Copy link
Member

Allows to use find_by like other ActiveRecord models

@vjt find_each would also be a good addition: https://api.rubyonrails.org/v6.1.0/classes/ActiveRecord/Batches.html#method-i-find_each

Allows to use find_by like other ActiveRecord models
Copy link
Contributor

@vjt vjt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⭐️⭐️⭐️⭐️⭐️

@tagliala tagliala merged commit b9ffd81 into master Dec 25, 2020
@tagliala tagliala deleted the feature/add-find-by branch December 25, 2020 12:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants