Closed inderps closed 3 years ago
If you have resource with associations of dashed types. You cannot access those associations because of the bug
# { # id: 1, # type: 'dashed-owners', # attributes: { # name: "Arjuna" # } # } class DashedOwner < Formatted end class DashedProperty < Formatted has_one :dashed_owner end dashed_owner = DashedOwner.find(1).first dashed_property = DashedProperty.new(dashed_owner: dashed_owner)
Accessing below will results in following error
dashed_property.dashed_owner NameError: uninitialized constant DashedProperty::Dashed-owner
If you have resource with associations of dashed types. You cannot access those associations because of the bug
Accessing below will results in following error