mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
2
test/fixtures/active_record.rb
vendored
2
test/fixtures/active_record.rb
vendored
@@ -71,7 +71,7 @@ class ARTagSerializer < ActiveModel::Serializer
|
||||
end
|
||||
|
||||
class ARSectionSerializer < ActiveModel::Serializer
|
||||
attributes :name
|
||||
attributes 'name'
|
||||
end
|
||||
|
||||
ARPost.create(title: 'New post',
|
||||
|
||||
Reference in New Issue
Block a user