lib/jsonapi/resource.rb in jsonapi-resources-0.0.1 vs lib/jsonapi/resource.rb in jsonapi-resources-0.0.2
- old
+ new
@@ -293,10 +293,10 @@
# quasi private class methods
def _updateable_associations
associations = []
@_associations.each do |key, association|
- if association.is_a?(JSONAPI::Association::HasOne) || association.treat_as_set
+ if association.is_a?(JSONAPI::Association::HasOne) || association.acts_as_set
associations.push(key)
end
end
associations
end
\ No newline at end of file