Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove acts_as_list from CustomOption to fix spec

Sven R. Kunze2e26211fad1e
diff --git a/app/models/custom_option.rb b/app/models/custom_option.rb
index d3a051270bc..57c53429daf 100644
--- a/app/models/custom_option.rb
+++ b/app/models/custom_option.rb
@@ -30,8 +30,6 @@
# A custom option is a possible value for a given custom field
# which is restricted to a set of specific values.
class CustomOption < ApplicationRecord
- acts_as_list
-
belongs_to :custom_field, touch: true
validates :value, presence: true, length: { maximum: 255 }