Restore default value for AR include_root_in_json

This commit is contained in:
Thibault Jouan 2015-05-03 18:31:59 +00:00
parent a0f73fae8d
commit 9a81c434d3

View File

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