How do you deal with the conflict between ActiveSupport::JSON and the JSON gem?
- by Luke Francl
I am stumped with this problem.
ActiveSupport::JSON defines to_json on various core objects and so does the JSON gem. However, the implementation is not the same -- the ActiveSupport version takes arguments and the JSON gem version doesn't.
I installed a gem that required the JSON gem and my app broke. The issue is that I'm using to_json in a…