sortifiable 0.2.7
This gem provides an acts_as_list compatible capability for sorting and reordering a number of objects in a list. The class that has this specified needs to have a +position+ column defined as an integer on the mapped database table. This gem requires ActiveRecord 3.0 as it has been refactored to use the scope methods and query interface introduced with Ruby on Rails 3.0
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (2):
activerecord
>= 3.0
activesupport
>= 3.0