test/lib/tmp/app/models/dinosaur.rb in controller_scaffolding-1.4.2 vs test/lib/tmp/app/models/dinosaur.rb in controller_scaffolding-1.4.3
- old
+ new
@@ -1,4 +1,8 @@
class Dinosaur < ActiveRecord::Base
+ extend SqlSearchableSortable
+
sql_searchable :name #, :age, :good_dino
+
+ sql_sortable :name, :age, :good_dino
end