I got the solution, mongoid creates an array with ids (track_ids) with all the ids of the tracks in the list.
By overriding the track_ids instead of tracks nothing is queried or stored in mongoid.
user = Model::User.find(token)
playlists = user.playlists
playlists.map do |playlist|
playlist.track_ids = playlist.track_ids.take(4)
end
decorator = Decorator::PlaylistCollection.new(playlist)
response_with decorator