Closed khiav223577 closed 6 years ago
https://github.com/khiav223577/deep_pluck/issues/17
user = User.find_by(:name => %w(Pearl)) user.deep_pluck(:name, :posts => [:name])) # => {'name' => 'Pearl' , :posts => [{'name' => "post4"}, {'name' => "post5"}]}
https://github.com/khiav223577/deep_pluck/issues/17
Usage