paginates per

This commit is contained in:
Harry Bomrah 2017-01-11 14:33:49 +08:00
parent 0f541712aa
commit 75573476de
1 changed files with 1 additions and 1 deletions

View File

@ -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