Sha256: 972cd4fc1ee96e80ec81cd5e05cede83bd45b661066a482a689f90b0e90dbb31
Contents?: true
Size: 263 Bytes
Versions: 4
Compression:
Stored size: 263 Bytes
Contents
class Post < ApplicationRecord # ---------------------------------------- Associations belongs_to :author, :class_name => 'User' # ---------------------------------------- Attributes enum :state => { :draft => 0, :pending => 1, :published => 2 } end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
notify_on-1.0.5 | spec/dummy/app/models/post.rb |
notify_on-1.0.4 | spec/dummy/app/models/post.rb |
notify_on-1.0.3 | spec/dummy/app/models/post.rb |
notify_on-1.0.2 | spec/dummy/app/models/post.rb |