End of day commit
This commit is contained in:
@@ -3,13 +3,13 @@ module Qwaiter
|
||||
# attribute :_id, key: :id
|
||||
attributes :id, :created_at, :updated_at
|
||||
# Bug in rails 4.1 serializing symbols in jsonify
|
||||
def to_json(*args)
|
||||
as_json.to_json(*args)
|
||||
end
|
||||
#def to_json(*args)
|
||||
#as_json.to_json(*args)
|
||||
#end
|
||||
|
||||
def id
|
||||
object._id
|
||||
end
|
||||
#def id
|
||||
#object._id
|
||||
#end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user