rails/rails — pull request #13760 by DarthSim (2014-01-19 10:19:13+00:00)
Title: ActiveRecord::Relation#pluck allows to get attributes of associations

ActiveRecord::Relation#pluck now can get attributes from associated models using a hash
like `Model.pluck(:id, :name, child: [:id, :name, { nested_child: :address }])`