Sha256: 33650d676a1407b1cc69882b0df81058a4159ba80d49490647ee775c157a2583

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class Author < CDQManagedObject
end

class Article < CDQManagedObject
  scope :all_published, where(:published).eq(true)
  scope :with_title, where(:title).ne(nil).sort_by(:title, :descending)
  scope :published_since { |date| where(:publishedAt).ge(date) }
end

class Citation < CDQManagedObject
end

class Writer < CDQManagedObject
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cdq-0.1.2 app/test_models.rb
cdq-0.1.1 app/test_models.rb