Fabricate::Config.active_support? needs a more granular check #153

Closed
kyledrake opened this Issue Mar 25, 2013 · 0 comments

Projects

None yet

2 participants

@kyledrake
Contributor

I'm not using ActiveSupport, so I don't have HashWithIndifferentAccess on a project. But I have a Gem that defines the module to add a method (specifically the mail gem) with this offending code:

module ActiveSupport
  unless const_defined?(:Multibyte)
    Multibyte = Mail::Multibyte
  end 
end

I think a better check for this would be to check for HashWithIndifferentAccess itself.

Might be able to get a pull request sent for this, but I'm not sure how to approach the problem yet.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment