0 我有非常具体的任务。我需要使用特定范围的ID从数据库中选择项目。 (例如从3到8)。我该怎么做呢?从数据库中选择从x到y的数据库项目 来源 2016-04-27 user2950593 +1 的[从一系列在ActiveRecord的ID的搜索]可能的复制(http://stackoverflow.com/questions/10773160/searching-from-a-range -of-IDS-在-了activerecord) –
的[从一系列在ActiveRecord的ID的搜索]可能的复制(http://stackoverflow.com/questions/10773160/searching-from-a-range -of-IDS-在-了activerecord) –