-
Notifications
You must be signed in to change notification settings - Fork 3
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
Remove polyfills #5
Conversation
@@ -1,8 +1,11 @@ | |||
## | |||
# Hawk entry point. | |||
# | |||
# | |||
|
|||
require 'active_support/core_ext/array/wrap' |
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.
Is this enough? Or, why is it needed? We are using pluralize
but not requiring it explicitly.
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.
I know, that's strange, but without this explicit require
I get a
#<NoMethodError: undefined method 'wrap' for Array:Class>
. I have the feeling it has to do with ActiveSupport's require
-ing and autoloading.
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.
OK, cool, thanks.
Oh, look how a bit of Not Invented Here syndrome goes away. @jblackman no more refinements in Hawk, you can start testing it on Ruby 1.9 :-) |
This code is not being required Ref: #5
This code is not being required Ref: #5
This code is not being required and references non-existing files Ref: #5
No description provided.