-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Getting lots of "deprecated: call #name instead" messages #942
Comments
Sorry about the noise, can you post your Gemfile and maybe we can see what's likely to be causing it? Does the deprecation warning include a stack trace? If not we can add one. |
Thanks for getting back to me. Here goes the gemfile - I am using RefineryCMS and am trying to upgrade to version 3. Had no issues before the upgrade - but the upgrade has affected quite a few gems. I am getting no stack trace for deprecation warnings. Please let me know how I can switch it on for cucumber.
|
I've just released v2.3.1 which should give you a better deprecation warning with the file and line number of the code that's calling |
Many thanks - that worked a treat. It was in my own code, and now that I see where the problem was, I shouldn't have assumed a blanket search over my own project for the word "title" wouldn't have worked... But this change you've implemented should help other folks experiencing deprecation warnings in the future. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I have looked at the source of
running_test_case.rb
and can see what is causing all these deprecation warnings (three per scenario). Apparently somewhere in my code/config (or in the code of a gem that I am using) something is calling this 'title' method instead of a 'name' method. However, I have no idea quite what piece of code is calling this; it's beyond my current ruby debugging skills! My tests all seem to run fine - but getting three lines of deprecation warning for every scenario creates a lot of noise. The issue seems a little like #232.The text was updated successfully, but these errors were encountered: