I have next ids - video_ids: [1, 8, 2, 8, 3, 8]
. So, each second record must be with id 8.
When I make Video.where(id: [1, 8, 2, 8, 3, 8]).ids
I have `[1, 8, 2, 3, 4]. So, active record find record with id 8 only one.
I would like after Video.where(id: [1, 8, 2, 8, 3, 8])
have =>
[<Video id: 1>, <Video id: 8>, <Video id: 2>, <Video id: 8>, <Video id: 3>, <Video id: 8>]
What can be done to do this?