Skip to content

Commit 266d7a3

Browse files
committed
Correct association
1 parent b5e1364 commit 266d7a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/poro.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class PlaceSerializer < ActiveModel::Serializer
217217

218218
class Like < Model
219219
attributes :time
220-
attributes :likeable
220+
associations :likeable
221221
end
222222
class LikeSerializer < ActiveModel::Serializer
223223
attributes :id, :time

0 commit comments

Comments
 (0)