I want to do a map on a rails collection but I need the result to be an active record collection instead of array. Currently I am doing the following but this returns an array.<