Tagged: ACTIVERECORD

Always specify an order when using 'limit'

Database records may not be in chronological order. Specifying order ensures correct data retrieval.
Evan Clough   -   Oct 8, 2019
RAILS, ACTIVERECORD, SQL

Avoiding surprises with ActiveRecord's 'first' and 'last'

Interactions between and optimization of first, last, order, and reverse
Evan Clough   -   Sep 11, 2019
RAILS, ACTIVERECORD
Experteer uses cookies. Information on data protection     Accept