Rails 6 adds ActiveRecord::Relation pick

Before Rails 6, selecting only the first value for a column from a set of records was cumbersome. Let’s say we want only the first name from all the posts with category “Rails 6”.
Rails 6 adds ActiveRecord::Relation pick #ruby #rubydeveloper #rubyonrails #activerecord::relation https://rubyonrails.ba/single/rails-6-adds-activerecord-relation-pick

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles