Skip to content

pluck with ampersand returns not id - #3209

Merged
briri merged 1 commit into
DMPRoadmap:developmentfrom
nicolasfranck:development
Aug 30, 2022
Merged

pluck with ampersand returns not id#3209
briri merged 1 commit into
DMPRoadmap:developmentfrom
nicolasfranck:development

Conversation

@nicolasfranck

Copy link
Copy Markdown
Contributor

Changes proposed in this PR:

  • plans.pluck(&:id) returns array of array values containing the plan attributes values. Probably typo. Should be plans.pluck(:id)

@briri briri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're right @nicolasfranck probably a typo

@briri

briri commented Aug 30, 2022

Copy link
Copy Markdown
Contributor

Tests are failing on the development branch (Rails 6) and we are aware, so merging this one even though the tests fail

@briri
briri merged commit 5eff207 into DMPRoadmap:development Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants