Sha256: 2c69077fd61d1a6da6784f25bc8a3adaded69330dbe416af077d7f03853df75e

Contents?: true

Size: 196 Bytes

Versions: 27

Compression:

Stored size: 196 Bytes

Contents

##
# Extremely basic post example record.
# This is a blog post! Wow.
class Post < ApplicationRecord
  belongs_to :person

  validates :title, presence: true
  validates :body, presence: true
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
sober_swag-0.25.2 example/app/models/post.rb
sober_swag-0.25.1 example/app/models/post.rb
sober_swag-0.25.0 example/app/models/post.rb
sober_swag-0.24.1 example/app/models/post.rb
sober_swag-0.24.0 example/app/models/post.rb
sober_swag-0.23.0 example/app/models/post.rb
sober_swag-0.22.0 example/app/models/post.rb
sober_swag-0.21.0 example/app/models/post.rb
sober_swag-0.20.0 example/app/models/post.rb
sober_swag-0.19.0 example/app/models/post.rb
sober_swag-0.18.0 example/app/models/post.rb
sober_swag-0.17.0 example/app/models/post.rb
sober_swag-0.16.0 example/app/models/post.rb
sober_swag-0.15.0 example/app/models/post.rb
sober_swag-0.14.0 example/app/models/post.rb
sober_swag-0.13.0 example/app/models/post.rb
sober_swag-0.12.0 example/app/models/post.rb
sober_swag-0.11.0 example/app/models/post.rb
sober_swag-0.10.0 example/app/models/post.rb
sober_swag-0.9.0 example/app/models/post.rb