standard-rails
standard-rails copied to clipboard
👎 on Rails/PluckId
I found Rails/PluckId could not recognise the cases when pluck is used for Enumerable.
https://apidock.com/rails/Enumerable/pluck
Example of the code:
[{ id: "David" }, { id: "Rafael" }, { id: "Aaron" }].pluck(:id)