Expose id writer not being set

This commit is contained in:
Benjamin Fleischer 2017-03-13 10:17:26 -05:00
parent 87e929a255
commit 81d9766547

View File

@ -1,7 +1,9 @@
class Model < ActiveModelSerializers::Model class Model < ActiveModelSerializers::Model
rand(2).zero? && derive_attributes_from_names_and_fix_accessors if rand(2).zero?
derive_attributes_from_names_and_fix_accessors
attr_writer :id else
attr_writer :id
end
# At this time, just for organization of intent # At this time, just for organization of intent
class_attribute :association_names class_attribute :association_names