Sha256: 2fedaf6db298d4aa0acbc27fde5840527e1ce294f370cf18b53f4e8e8b52619e

Contents?: true

Size: 476 Bytes

Versions: 9

Compression:

Stored size: 476 Bytes

Contents

require 'active_record'
require 'logger'

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
ActiveRecord::Base.logger       = Logger.new SPEC_ROOT.join('debug.log').to_s
ActiveRecord::Migration.verbose = false

ActiveRecord::Schema.define do
  create_table :sensitive_data, :force => true do |t|
    t.column :name, :string
    t.column :storage, :text
    t.column :secret, :text
  end
end

class SensitiveData < ActiveRecord::Base; end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
crypt_keeper-0.4.2 spec/support/active_record.rb
crypt_keeper-0.4.1 spec/support/active_record.rb
crypt_keeper-0.3.0 spec/support/active_record.rb
crypt_keeper-0.2.0 spec/support/active_record.rb
crypt_keeper-0.1.0 spec/support/active_record.rb
crypt_keeper-0.0.4 spec/support/active_record.rb
crypt_keeper-0.0.3 spec/support/active_record.rb
crypt_keeper-0.0.2 spec/support/active_record.rb
crypt_keeper-0.0.1 spec/support/active_record.rb