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

Replace parent with module_parent_name #4941

Closed

Conversation

PanosCodes
Copy link

@PanosCodes PanosCodes commented Jan 5, 2021

When trying to run bin/rails g mongoid:config on a rails 6.1+ app results in the following error

/usr/local/bundle/gems/railties-6.1.0/lib/rails/railtie.rb:209:in `method_missing': undefined method `parent' for App::Application:Class (NoMethodError)

Since Rails 6.0 the parent method is replaced with module_parent
rails/rails#34051

Since Rails 6.0 the parent method is replaced with module_parent
rails/rails#34051
@p-mongo
Copy link
Contributor

p-mongo commented Jan 15, 2021

@p-mongo
Copy link
Contributor

p-mongo commented Mar 4, 2021

This was merged as #4960, thank you.

@p-mongo p-mongo closed this Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked-in-jira Ticket filed in Mongo's Jira system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants