small medium large xlarge

13 Aug 2008, 09:27
Michael Lee (1 post)

More recent versions of Rails drop in the new_rails_default.rb file when projects are created via the Rails command.

The following line modifies the structure of the json, per the comments in the file, and based on observation, this breaks the Google Map display. (It works when you comment it out.)

ActiveRecord::Base.include_root_in_json = true

What is an elegant update to keep this working properly?

Thanks for the help!

Regards, Mike

You must be logged in to comment