mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
embed_in_root is now side_load
This commit is contained in:
@@ -63,7 +63,7 @@ module ActiveModel
|
||||
|
||||
ARPostSerializer._associations.each_value do |association|
|
||||
association.embed = options[:embed]
|
||||
association.embed_in_root = options[:include]
|
||||
association.side_load = options[:include]
|
||||
end
|
||||
|
||||
yield
|
||||
|
||||
Reference in New Issue
Block a user