Skip to content
Snippets Groups Projects

Services for persisting Cycle Analytics group stages

Merged Adam Hegyi requested to merge persisting-ca-group-stages into master
All threads resolved!
13 files
+ 182
165
Compare changes
  • Side-by-side
  • Inline
Files
13
@@ -19,6 +19,12 @@ module Stage
scope :customized, -> { where(custom: true) }
end
class_methods do
def first_custom_stage?(stage)
!customized.where.not(id: stage.id).exists?
end
end
def parent=(_)
raise NotImplementedError
end
Loading