Closed ise-tang closed 1 year ago
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.
ActiveHash::Base
exists?
save
@kbrock How about this? If something lacks for your decision, please tell me.
I changed author email in each commits, so I did force push.
@kbrock Could you do review again?
Currently
ActiveHash::Base
hasexists?
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.