Did to_json get removed or something?
Try adding require "active_support/core_ext"
require 'active_support'
doesn't inject behavior into the core classes by itself. That way you can pick which extensions you want. Using core_ext
dumps the extensions you are familiar with from rails into the core classes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With