-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
Change hide! to the implementation to support rails 3.2 #182
Conversation
@@ -6,7 +6,7 @@ | |||
module ReactOnRails | |||
module Generators | |||
class BaseGenerator < Rails::Generators::Base # rubocop:disable Metrics/ClassLength | |||
hide! | |||
Rails::Generators.hide_namespace self.namespace |
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.
Let's use parens for the method call.
Any doc link for this?
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 what you are looking for?
http://apidock.com/rails/Rails/Generators/hide_namespace/class
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.
@flynfish Please make the paren change, and I'll merge. |
@justin808 done |
Change hide! to the implementation to support rails 3.2
This allows the generators to work in rails 3.2 because the hide! method only exists in rails 4.