Select Git revision
Forked from
GitLab.org / GitLab FOSS
6852 commits behind the upstream repository.
-
Douglas Barbosa Alexandre authoredDouglas Barbosa Alexandre authored
board.rb 232 B
class Board < ActiveRecord::Base
belongs_to :project
has_many :lists, -> { order(:list_type, :position) }, dependent: :delete_all
validates :project, presence: true
def done_list
lists.merge(List.done).take
end
end