Sha256: f2b3ec6fbbc994afb25418ff50c84bd1c16ae1bc3f7ca1f2a15660ce99d6eec2

Contents?: true

Size: 169 Bytes

Versions: 3

Compression:

Stored size: 169 Bytes

Contents

require 'cassandra/0.7'
config = YAML.load_file(Rails.root.join("config", "cassandra.yml"))[Rails.env]
$cassandra = Cassandra.new(config['keyspace'], config['servers'])

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mama_cass-0.0.5 lib/mama_cass/generators/templates/cassandra.rb
mama_cass-0.0.4 lib/mama_cass/generators/templates/cassandra.rb
mama_cass-0.0.3 lib/mama_cass/generators/templates/cassandra.rb