From 957ddd7431d1e041b641d8415b8383626eb61ce9 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 11 Jan 2017 14:34:50 +0800 Subject: [PATCH] paginates per --- app/models/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/project.rb b/app/models/project.rb index c50fc12..82073c0 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -26,7 +26,7 @@ class Project field :create_user_id, :type => BSON::ObjectId field :update_user_id, :type => BSON::ObjectId - paginates_per 10 + # paginates_per 10 has_many :project_files, :autosave => true, :dependent => :destroy