Sha256: 50e6ca30b3cfad93431d868f8ee57375c9d40e2ed3e94fdfe29d750dd03684c1

Contents?: true

Size: 493 Bytes

Versions: 6

Compression:

Stored size: 493 Bytes

Contents

ActiveRecord::Base.configurations = YAML::load( IO.read( File.dirname(__FILE__) + '/../spec/database.yml' ) )
ActiveRecord::Base.establish_connection( 'test' )

ActiveRecord::Schema.define :version => 1 do
  create_table "users", :force => true do |t|
    t.string   "name",       :limit => 50
    t.string   "raw_ssn",    :limit => 9
  end

  create_table "people", :force => true do |t|
    t.string   "name",       :limit => 50
  end
end

class User < ActiveRecord::Base
  has_ssn :ssn
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ssn-1.0.2 script/environment.rb
ssn-1.0.1 script/environment.rb
ssn-1.0.0 script/environment.rb
ssn-0.3.0 script/environment.rb
ssn-0.2.0 script/environment.rb
ssn-0.1.0 script/environment.rb