paginates per
This commit is contained in:
parent
d080185274
commit
e58026ba9e
|
@ -22,7 +22,7 @@ class Lab
|
||||||
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 :lab_files, :autosave => true, :dependent => :destroy
|
has_many :lab_files, :autosave => true, :dependent => :destroy
|
||||||
accepts_nested_attributes_for :lab_files, :allow_destroy => true
|
accepts_nested_attributes_for :lab_files, :allow_destroy => true
|
||||||
|
|
Loading…
Reference in New Issue