Updated

app/models / pipeline.rb

A
15 lines of codes
0 methods
N/A complexity/method
13 churn
0.0 complexity
0 duplications
# == Schema Information # # Table name: pipelines # # id :bigint not null, primary key # name :string default(""), not null # created_at :datetime not null # updated_at :datetime not null # class Pipeline < ApplicationRecord broadcasts_refreshes has_many :stages has_many :deals accepts_nested_attributes_for :stages, reject_if: :all_blank, allow_destroy: true end