about summary refs log tree commit diff stats
path: root/vcpkg.json
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg.json')
0 files changed, 0 insertions, 0 deletions
td>
1
2
3
4
5
6
7
8
9
10
11
12
                                

                    




                                                           



                     
class Stream < ApplicationRecord
  include Recordable

  has_many :updates

  validates :title, presence: true
  validates :slug, presence: true, format: /\A[-a-z0-9]+\z/

  def path
    "/thinks/#{slug}"
  end
end