Sha256: 3acb40dbed14d63e0cdbd3a23174b4f1d2d120afa5f858e9ed1ad5aee347dbae

Contents?: true

Size: 128 Bytes

Versions: 6

Compression:

Stored size: 128 Bytes

Contents

class Blog < ActiveRecord::Base
  belongs_to :author
  has_many :comments
  scope :featured, ->{ where(:featured => true) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
brightcontent-core-2.1.5 spec/dummy/app/models/blog.rb
brightcontent-core-2.1.4 spec/dummy/app/models/blog.rb
brightcontent-core-2.1.3 spec/dummy/app/models/blog.rb
brightcontent-core-2.1.2 spec/dummy/app/models/blog.rb
brightcontent-core-2.1.1 spec/dummy/app/models/blog.rb
brightcontent-core-2.1.0 spec/dummy/app/models/blog.rb