sorty_sorter 0.0.7
This gem adds an ActiveRecord::Relation method that sorts based on dynamic column (i.e. name, updated_at, etc.) and direction (asc, desc) parameters and validated against definition in model.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
~> 4.1