Base progress
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
ActiveModel::Serializer.setup do |config|
|
||||
config.embed = :ids
|
||||
config.embed_in_root = true
|
||||
#config.adapter = :json_api
|
||||
end
|
||||
#ActiveModel::Serializer.setup do |config|
|
||||
#config.embed = :ids
|
||||
#config.embed_in_root = true
|
||||
##config.adapter = :json_api
|
||||
#end
|
||||
#module ActiveModel::SerializerSupport
|
||||
# def read_attribute_for_serialization(attr)
|
||||
# public_send attr
|
||||
# end
|
||||
#end
|
||||
module ActiveModel::SerializerSupport
|
||||
#only because it is used
|
||||
end
|
||||
|
||||
=begin
|
||||
class Qwaiter::JsonAdapter < ActiveModel::Serializer::Adapter::JsonApi
|
||||
|
||||
Reference in New Issue
Block a user