class Channel < OurOhm
  
  attribute :title
  attribute :description
  
  collection :facts, Fact
  
  reference :user, GraphUser
  
end
class Channel < OurOhm
  
  attribute :title
  attribute :description
  
  set :facts, Fact
  
  reference :user, GraphUser
  
  def validate
    assert_present :title
    # assert_present :user # User always needed?
  end
  
end
Set of facts. Don't allow empty :title
Set of facts. Don't allow empty :title
