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

Fix exists? statements #10

Merged
merged 1 commit into from
Jun 3, 2021
Merged

Fix exists? statements #10

merged 1 commit into from
Jun 3, 2021

Conversation

le0pard
Copy link

@le0pard le0pard commented Jun 1, 2021

Without this fix exists? method is broken:

irb(main):002:0> Model.where(field: 'example').exists?
  Model Exists? (0.2ms)  #<Arel::SelectManager:0x00007fe75e685ab8>
Traceback (most recent call last):
        1: from (irb):2
TypeError (no implicit conversion of Arel::SelectManager into String)

@kwent kwent merged commit 7589371 into kwent:master Jun 3, 2021
@kwent
Copy link
Owner

kwent commented Jun 3, 2021

@le0pard Thank you. Released in 1.2.1

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