From 0c62dc51b37a9295ee1360769b8e2c7d98188146 Mon Sep 17 00:00:00 2001 From: Micha Wrobel Date: Sat, 3 Mar 2012 17:21:50 +0100 Subject: [PATCH] Don't include model name in json response --- config/initializers/active_record.rb | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/initializers/active_record.rb diff --git a/config/initializers/active_record.rb b/config/initializers/active_record.rb new file mode 100644 index 0000000..3b7b0d6 --- /dev/null +++ b/config/initializers/active_record.rb @@ -0,0 +1 @@ +ActiveRecord::Base.include_root_in_json = false