Restore default value for AR include_root_in_json
This commit is contained in:
parent
a0f73fae8d
commit
9a81c434d3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user