Sha256: 149ce38ce73d533ac6acc055500cc5e62caefa6165d566562feb17b41eff78c8

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

require 'active_record'

ActiveRecord::Base.establish_connection(
  adapter:  'sqlite3',
  database: ':memory:'
)

ActiveRecord::Schema.define do
  create_table :ar_users, force: true do |t|
    t.string     :first_name
    t.string     :last_name

    t.timestamps null: false
  end
end

class ARUser < ActiveRecord::Base
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_model_exporters-0.5.1 test/fixtures/active_record/models.rb
active_model_exporters-0.5.0 test/fixtures/active_record/models.rb
active_model_exporters-0.4.1 test/fixtures/active_record/models.rb