Skip to content

Make Spaceship and comparison Numeric safe#45

Open
carlallen wants to merge 1 commit into
halogenandtoast:masterfrom
carlallen:patch-1
Open

Make Spaceship and comparison Numeric safe#45
carlallen wants to merge 1 commit into
halogenandtoast:masterfrom
carlallen:patch-1

Conversation

@carlallen

Copy link
Copy Markdown

Rails 6.1 uses the spaceship operator against 0 to verify numerical-ness, but this doesn't work.

Rails 6.1 uses the spaceship operator against 0 to verify numerical-ness, but this doesn't work.
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.

1 participant