-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
method missing to_ary #2370
method missing to_ary #2370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When does this happen? Add a test or we'll break it again!
Its happening on implicit conversions. Anyway, the |
Should we add a section into UPGRADING and save someone who wasn't paying attention to the deprecation some trouble? |
Replace route_params by params
…fix_to_ary_method_missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more period and let's merge. Thanks for doing this.
README.md
Outdated
@@ -3506,7 +3506,7 @@ TwitterAPI::routes[0].description # => 'Includes custom settings.' | |||
TwitterAPI::routes[0].settings[:custom] # => { key: 'value' } | |||
``` | |||
|
|||
Note that `Route#route_xyz` methods have been deprecated since 0.15.0. | |||
Note that `Route#route_xyz` methods have been deprecated since 0.15.0 and removed since 2.0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add missing period.
While profiling #2363, I found that
to_ary
is leaking asAllocated String Report
.It has been fixed in by #466 but lost since.