Created
June 29, 2010 16:08
-
-
Save mdeiters/457416 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raise 'Rails 2.3.2 to_json method fails if you attempt to load JSON gem before active support is loaded' if defined?(JSON) | |
require 'json/add/rails' | |
require 'json/add/core' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment