khiav223577 / deep_pluck

Allow you to pluck attributes from nested associations without loading a bunch of records.
MIT License
460 stars 14 forks source link

need only one record support #17

Closed kakas closed 6 years ago

kakas commented 7 years ago

e.g.

User.first.deep_pluck(:id, :name)

User.find(33).deep_pluck(:id, :name)
khiav223577 commented 6 years ago

Added the support for deep_pluck to pluck at active model (https://github.com/khiav223577/deep_pluck/pull/19) and released v1.1.0