From 75573476de800db1c81920b2761bfc8f014b1af0 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 11 Jan 2017 14:33:49 +0800 Subject: [PATCH] paginates per --- app/models/patent.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/patent.rb b/app/models/patent.rb index 627f224..5aa021a 100644 --- a/app/models/patent.rb +++ b/app/models/patent.rb @@ -27,7 +27,7 @@ class Patent field :create_user_id, :type => BSON::ObjectId field :update_user_id, :type => BSON::ObjectId - paginates_per 10 + # paginates_per 10 has_many :patent_files, :autosave => true, :dependent => :destroy accepts_nested_attributes_for :patent_files, :allow_destroy => true