I can’t quite figure out what’s going on here, it seems like if this
actually a problem someone else would have run into it and I’d have
luck googling for it, since MultiJson is so popular but…
Rails 3.2.9. Is ActiveSupport::Dependencies doing something weird with
#load method defined on all objects, such that it conflicts with other
objects #load method?
MultiJson wants you to use MultiJson.load to parse JSON.
But when I try… somehow some activesupport load is eating it instead.
get an error “Could not load file [big json string]”, and this odd
load' activesupport-3.2.9/lib/active_support/dependencies.rb:245:inblock in
line to my app code that’s actually calling MultiJson.load, but then the
next line up is an active_support load instead, what now?
Anyone have any idea how I would debug this further, or what might be
on? Any known problems with ActiveSupport adding a ‘load’ which kills
other gems loads?