So, it seems that the source
attribute option is not supported by embedded resources.
For example, if my embedded resource has this:
attribute :value, :string, source: :second
It will return value
as nil
, but if it has this:
attribute :second, :string
Then it returns the correct string.
Is this a bug? Can we add support for that option?