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

Requires only the necessary core_ext from active_support. #7

Merged
merged 2 commits into from
Sep 22, 2014
Merged

Requires only the necessary core_ext from active_support. #7

merged 2 commits into from
Sep 22, 2014

Conversation

cvortmann
Copy link
Contributor

base.rb seem to only require the hash extension but was requiring the
whole active_support/core_ext. That injected
active_support/core_ext/object/json.rb in the call chain.
When you have an object composed of other objects where the parent
doesn't define :to_json it would completely ignore :to_json defined
in the children, using active_support's instead.

base.rb seem to only require the hash extension but was requiring the
whole active_support/core_ext. That injected
active_support/core_ext/object/json.rb in the call chain.
When you have an object composed of other objects where the parent
doesn't define :to_json it would completely ignore :to_json defined
in the children, using active_support's instead.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 4d4fc83 on cvortmann:requires-only-the-necessary into 167be08 on brooklynDev:master.

brooklynDev added a commit that referenced this pull request Sep 22, 2014
Requires only the necessary core_ext from active_support.
@brooklynDev brooklynDev merged commit 44e4595 into brooklynDev:master Sep 22, 2014
@cvortmann cvortmann deleted the requires-only-the-necessary branch July 6, 2016 12:51
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.

3 participants