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
Deprecation warning when running in Rails master #484
Comments
Seems bad. It is true that |
It's used here, the tests stub Given that |
Is there a way to check if |
Not without calling it. I think we have to add a version check. |
While we're discussing this, I've been meaning to ask about my final comment on #412 (comment) again. Note that I suspect we could avoid the version check and effectively hide the issue (except for the corner case where someone does ModelClass.decorate) by using the suggested approach. It appears that |
@tovodeverett I'm not keen on changing it to use
|
Three cheers for @haines! Thanks a lot for fixing this! |
@nmk no problem! Thanks for reporting :) |
When using draper master in a Rails app running rails master, I see the following deprecation warning:
When I run the draper test suite with
RAILS_VERSION=master
I see no such warning.This is for current master - 7d63298.
Any idea what might be the issue?
The text was updated successfully, but these errors were encountered: