Sha256: 1bc5feb7282f8408f5354ad8bf6c5d4d19be1fa7bcd8b5da5acf130b9b9dbbd6

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

class Post < ActiveRecord::Base
  has_many :post_categories
  has_many :categories, :through => :post_categoriess
  belongs_to :user

  def self.statuses
    %w(draft hidden published)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.0.26 spec/dummy/app/models/post.rb