Sha256: 52583abb55f6d8ff9080127d7d320d8d0b5e42339a33e5699784b75ab0596457

Contents?: true

Size: 232 Bytes

Versions: 21

Compression:

Stored size: 232 Bytes

Contents

class IssueDynamic < CassandraObject::BaseSchemalessDynamic
  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_dynamic.rb
extendi-cassandra_object-1.1.0 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.20 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.19 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.18 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.17 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.16 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.15 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.14 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.13 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.12 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.11 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.10 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.9 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.8 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.7 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.6 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.5 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.4 test/support/issue_dynamic.rb
extendi-cassandra_object-1.0.1 test/support/issue_dynamic.rb