我怎么才能取回第二个,第三个..数据库中的条目.我不想使用Rails生成的自动递增id.
随着我从数据库中删除条目,ID也在不断增加.
所以我的数据库会有
id : 210 (Even thought it's currently the first value)
id : 211 (Even thought it's currently the second value)
我知道"Phone.first"会返回第一个,我怎么得到第二个呢?
Sub Question-
Destroy_all/delete_all -
only removes the item, Can I remove all entries from the DB and have the DB id's start from one without dropping the table. As I ran into problems.