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