Jese Leos

Plucking Nice

Put this under the more you know.

I had no idea ActiveSupport provided a pluck method like ActiveRecord.

Thanks to Standard, I now know.

pluck.png

This code cleans up nicely with:

prompts = message_prompts.pluck(:content).join(" ")