paginates per

This commit is contained in:
Harry Bomrah 2017-01-11 14:31:36 +08:00
parent d080185274
commit e58026ba9e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Lab
field :create_user_id, :type => BSON::ObjectId
field :update_user_id, :type => BSON::ObjectId
paginates_per 10
# paginates_per 10
has_many :lab_files, :autosave => true, :dependent => :destroy
accepts_nested_attributes_for :lab_files, :allow_destroy => true