update rails default files

This commit is contained in:
r888888888
2015-08-18 17:50:27 -07:00
parent 341b29ce41
commit c8f38350c3
11 changed files with 71 additions and 29 deletions

View File

@@ -10,5 +10,5 @@ end
# To enable root element in JSON for ActiveRecord objects.
ActiveSupport.on_load(:active_record) do
self.include_root_in_json = false
self.include_root_in_json = true
end