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

add ActiveRecord like exists? behavior. #262

Merged
merged 3 commits into from
Sep 19, 2022

Conversation

ise-tang
Copy link
Contributor

@ise-tang ise-tang commented Sep 7, 2022

Currently ActiveHash::Base has exists? method but its behavior is different with ActiveRecord's one.
It seems like to be used in save method only but it is a public method.
So I added ActiveRecord like behaviors and keep current behavior.

@ise-tang ise-tang changed the title add ActiveRecord like exists behavior. add ActiveRecord like exists? behavior. Sep 8, 2022
@ise-tang
Copy link
Contributor Author

ise-tang commented Sep 9, 2022

@kbrock How about this? If something lacks for your decision, please tell me.

@ise-tang ise-tang requested review from kbrock and yujideveloper and removed request for kbrock and yujideveloper September 10, 2022 09:55
@ise-tang ise-tang force-pushed the feature/ar_like_exists branch from a560ab7 to e524dae Compare September 10, 2022 10:08
@ise-tang
Copy link
Contributor Author

I changed author email in each commits, so I did force push.

@ise-tang
Copy link
Contributor Author

@kbrock Could you do review again?

@kbrock kbrock merged commit 5492ffa into active-hash:master Sep 19, 2022
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.

3 participants