RubyGems Navigation menu

deep_pluck 1.0.1

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!

install:
=

Versions:

  1. 1.3.1 - December 24, 2023 (23.5 KB)
  2. 1.3.0 - August 10, 2023 (23 KB)
  3. 1.2.1 - August 06, 2023 (23 KB)
  4. 1.2.0 - June 10, 2021 (22.5 KB)
  5. 1.1.7 - April 10, 2021 (22.5 KB)
  6. 1.0.1 - March 28, 2017 (11 KB)
Show all versions (25 total)

Runtime Dependencies (2):

activerecord > 3.x
pluck_all ~> 1.2.2

Development Dependencies (4):

bundler ~> 1.11
minitest ~> 5.0
rake ~> 12.0
sqlite3 ~> 1.3

Owners:

Authors:

  • khiav reoy

SHA 256 checksum:

493f3566d2b297cedf740cbbf16d894c3f5b7218ccf82ecb96e29b9500fbbd80

Total downloads 342,839

For this version 1,972

License:

MIT

Required Ruby Version: >= 0

Links: