Active Record’s first and last may not mean what you think

Objects in the database are created, by default, with an incrementing integer id. This means that ordering by this ascending id is the same as if we ordered by the created_at timestamp.
Active Record’s first and last may not mean what you think #ruby #rubydeveloper #rubyonrails #active #record’s https://rubyonrails.ba/single/active-record-s-first-and-last-may-not-mean-what-you-think

Nezir Zahirovic

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

related articles