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

Fixed a method redefine warning #8467

Closed
wants to merge 1 commit into from

Conversation

gsphanikumar
Copy link
Contributor

While running the tests in activemodel the below warning is fixed.

/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb:16: warning: method redefined; discarding old deep_merge!

I am not sure if using undef in the source is fine.

@steveklabnik
Copy link
Member

I'm 👎 on this, we should be handling this upstream, not undefining a method here.

I'm pretty sure it's bundler that's causing this, yes? I think bundler HEAD fixes these warnings already. @indirect?

@indirect
Copy link
Member

indirect commented Dec 9, 2012

I think so. If not, I'd love a patch. :)

On Dec 9, 2012, at 9:43 AM, Steve Klabnik notifications@github.com wrote:

I'm on this, we should be handling this upstream, not undefining a method here.

I'm pretty sure it's bundler that's causing this, yes? I think bundler HEAD fixes these warnings already. @indirect?


Reply to this email directly or view it on GitHub.

@steveklabnik
Copy link
Member

Cool, closing this, then.

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

3 participants