Ruby: Convert ActiveRecord Relations to Array Before Using Map

When you have an ActiveRecord relation, you need to convert it to an array before using map on it.

Like what you read? Give Jason Shultz a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.