Hacker News new | ask | show | jobs
by pat_shaughnessy 4262 days ago
Yes, good point. Rails has a lot of conventions like this - that "first" implies ordering by primary key (by default). I just imagine that most Rails developers don't think about sorting and its implications when they ask for the first record.