Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
class Reviewable < ActiveRecord::Base
class EditableFields < Reviewable::Collection
class Field < Item
attr_reader :type
def initialize(id, type)
super(id)
@type = type
end
def server_action
id
def add(id, type)
@content << Field.new(id, type)