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.0.0 test/support/issue_schema_father.rb