Sha256: 8dadc6836f4a434259efad8e7d9d1b27abad036b598d7099cf348a00982bde64

Contents?: true

Size: 123 Bytes

Versions: 4

Compression:

Stored size: 123 Bytes

Contents

class Blog < ActiveRecord::Base
  attr_accessible :body, :name, :featured

  scope :featured, where(:featured => true)
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brightcontent-core-2.0.6 spec/dummy/app/models/blog.rb
brightcontent-core-2.0.5 spec/dummy/app/models/blog.rb
brightcontent-core-2.0.3 spec/dummy/app/models/blog.rb
brightcontent-core-2.0.2 spec/dummy/app/models/blog.rb