Skip to content

pluck with ampersand returns not id#3209

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

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

Conversation

@nicolasfranck
Copy link
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)

Copy link
Contributor

@briri briri left a comment

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
Copy link
Contributor

briri commented Aug 30, 2022

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants