Sha256: a907d8c4259f197c757d1e6c44409550f57cd315e939796e8f8638a2479ed7f1

Contents?: true

Size: 723 Bytes

Versions: 6

Compression:

Stored size: 723 Bytes

Contents

#!/usr/bin/env ruby

# frozen_string_literal: true

require "bundler/setup"
require "trx_ext"

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require "irb"
require "logger"
require 'active_record'
require_relative '../spec/support/config'
require_relative '../spec/support/dummy_record'

ActiveRecord::Base.logger = ActiveSupport::Logger.new(STDOUT)
TrxExt.logger = ActiveSupport::Logger.new(STDOUT)

if Config.db_config
  ActiveRecord::Base.establish_connection(Config.db_config)
  DummyRecord.setup
end

IRB.start(__FILE__)

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trx_ext-1.0.5 bin/console
trx_ext-1.0.4 bin/console
trx_ext-1.0.3 bin/console
trx_ext-1.0.2 bin/console
trx_ext-1.0.1 bin/console
trx_ext-1.0.0 bin/console