paginates per

This commit is contained in:
Harry Bomrah 2017-01-11 14:34:50 +08:00
parent a9881e2838
commit 957ddd7431
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class Project
field :create_user_id, :type => BSON::ObjectId field :create_user_id, :type => BSON::ObjectId
field :update_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 has_many :project_files, :autosave => true, :dependent => :destroy