-
Notifications
You must be signed in to change notification settings - Fork 200
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
Use .nil? instead of == nil #210
Conversation
Its ruby and doesn't rely on ActiveSupport. Plus it works in my env.
Hello, thanks for the report. May I see the error and its backtrace? Thanks in advance. |
This was the error on AS 3.2.12
And this is the error on AS 3.2.22
|
Thanks a lot! |
(somehow I can't stop thinking there is something very wrong with ActiveSupport here, they're breaking Ruby) |
Its weird, yes. I wonder if @tenderlove has ideas here. Can I tag him here? |
You just did. I'm a bit old, I'd rather first build some evidence then report to the maintainers of ActiveSupport, if there is anything to report, rather than ping one maintainer out of the blue with an issue on a library not linked to ActiveSupport. |
Investigating in https://github.com/jmettraux/as_equal_equal ... |
Hello @paulodelgado, I've built https://github.com/jmettraux/as_equal_equal to try and reproduce your issue, but without success. Please try it with your 2.3.1 Ruby (I limited myself to a 2.1.3 I have lying around). If you can build on that as_equal_equal and reproduce the issue, that's worth reporting somewhere. Best regards. |
Interesting, I'm also unable to reproduce it. I got some work to do so i'll try again later. Thanks for taking a look at it! |
I was having issues with rufus + ActiveSupport(3.2.22)
When checking for @started_at == nil my system tried to use ActiveSupport's "compare_with_coercion" which ended up failing trying to run .to_datetime on null.
Not sure if I'm fixing this in the right place but I thought I'd give it a try.