class Cell < ActiveRecord::Base
  acts_as_list

  belongs_to :confession

  delegate :excerpt, :body, :published_at, to: :confession

  validates :confession, presence: true, uniqueness: true
  validates :excerpt, :published_at, presence: true
end

class Cell < ActiveRecord::Base
  acts_as_list

  belongs_to :confession

  delegate :excerpt, :body, :published_at, :comment, to: :confession

  validates :confession, presence: true, uniqueness: true
  validates :excerpt, :published_at, :comment, presence: true
end

Check that a comment exists when featuring a confession
Check that a comment exists when featuring a confession
