Notes posted by xlembouras
RSS feed
xlembouras -
March 10, 2021
0 thanks
Text improvement
The statement about not loading a bunch of records is correct because pluck returns an Array of values, not a ActiveRecord::Relation or an Array of Records.
The exact wording though may be:
“…without retrieving from the database unused columns or loading a bunch of records just to grab the attributes you want”