Sha256: 33b222739634c3ccaced15a9818a3f39a1971ed216017d2bf433c86c7fc86bc2

Contents?: true

Size: 218 Bytes

Versions: 21

Compression:

Stored size: 218 Bytes

Contents

class Issue < CassandraObject::BaseSchemaless
  string :description
  string :title

  before_create { self.description ||= 'funny' }

  self.allow_filtering = true

  def self.for_key key
    where_ids(key)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
extendi-cassandra_object-1.1.1 test/support/issue.rb
extendi-cassandra_object-1.1.0 test/support/issue.rb
extendi-cassandra_object-1.0.20 test/support/issue.rb
extendi-cassandra_object-1.0.19 test/support/issue.rb
extendi-cassandra_object-1.0.18 test/support/issue.rb
extendi-cassandra_object-1.0.17 test/support/issue.rb
extendi-cassandra_object-1.0.16 test/support/issue.rb
extendi-cassandra_object-1.0.15 test/support/issue.rb
extendi-cassandra_object-1.0.14 test/support/issue.rb
extendi-cassandra_object-1.0.13 test/support/issue.rb
extendi-cassandra_object-1.0.12 test/support/issue.rb
extendi-cassandra_object-1.0.11 test/support/issue.rb
extendi-cassandra_object-1.0.10 test/support/issue.rb
extendi-cassandra_object-1.0.9 test/support/issue.rb
extendi-cassandra_object-1.0.8 test/support/issue.rb
extendi-cassandra_object-1.0.7 test/support/issue.rb
extendi-cassandra_object-1.0.6 test/support/issue.rb
extendi-cassandra_object-1.0.5 test/support/issue.rb
extendi-cassandra_object-1.0.4 test/support/issue.rb
extendi-cassandra_object-1.0.1 test/support/issue.rb