Sha256: 175fee245d7de337cd0810d24d11af64b5042006a43fc266aca3a41733befb79

Contents?: true

Size: 209 Bytes

Versions: 21

Compression:

Stored size: 209 Bytes

Contents

class IssueSchemaFather < CassandraObject::BaseSchema
  string :id
  string :title
  float :field

  validates :title, presence: true

  self.keys = '(id)'

  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_schema_father.rb
extendi-cassandra_object-1.1.0 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.20 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.19 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.18 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.17 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.16 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.15 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.14 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.13 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.12 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.11 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.10 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.9 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.8 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.7 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.6 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.5 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.4 test/support/issue_schema_father.rb
extendi-cassandra_object-1.0.1 test/support/issue_schema_father.rb