deep_pluck 1.0.0
Use deep_pluck as a shortcut to select one or more attributes and include associated models without loading a bunch of records. And DRY up your code when using #as_json.
Gemfile:
=
Copy to clipboard
Copied!
Installeer:
=
Runtime afhankelijkheden (2):
active_record
> 3.x
pluck_all
~> 1.2.2