Skip to content
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

Merged
merged 4 commits into from Jan 7, 2016
Merged

Change hide! to the implementation to support rails 3.2 #182

merged 4 commits into from Jan 7, 2016

Conversation

flynfish
Copy link
Contributor

@flynfish flynfish commented Jan 4, 2016

This allows the generators to work in rails 3.2 because the hide! method only exists in rails 4.

@@ -6,7 +6,7 @@
module ReactOnRails
module Generators
class BaseGenerator < Rails::Generators::Base # rubocop:disable Metrics/ClassLength
hide!
Rails::Generators.hide_namespace self.namespace
Copy link
Member

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justin808
Copy link
Member

@flynfish Please make the paren change, and I'll merge.

@flynfish
Copy link
Contributor Author

flynfish commented Jan 5, 2016

@justin808 done

justin808 added a commit that referenced this pull request Jan 7, 2016
Change hide! to the implementation to support rails 3.2
@justin808 justin808 merged commit 79a18c3 into shakacode:master Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants