Skip to content
require 'active_record'
require 'minitest/autorun'
ActiveRecord::Base.establish_connection adapter: 'sqlite3', database: ':memory:'
ActiveRecord::Base.connection.instance_eval do
create_table(:users) do |t|
t.string :name
t.timestamps
end
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/activerecord/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/base.rb:121:in `process'
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/actionpack/lib/abstract_controller/rendering.rb:45:in `process'
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/metal/testing.rb:17:in `process_with_new_base_test'
/Users/aaron/.rbenv/versions/2.0.0-p451/lib/ruby/gems/2.0.0/bundler/gems/rails-8f014fba21f9/actionpack/lib/action_controller/test_case.rb:490:in `process'
/Users/aaron/.rbenv/versions/2.0.0
require 'abstract_controller/railties/routes_helpers'
require 'action_controller'
require 'action_controller/railties/helpers'
require 'action_view'
require 'action_dispatch'
require 'active_record'
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
ActiveRecord::Base.connection.instance_eval do
require 'active_record'
ActiveRecord::Base.establish_connection adapter: "sqlite3", database: ":memory:"
class Article < ActiveRecord::Base
has_one :comment
end
class Comment < ActiveRecord::Base
validates :amazing, presence: true
require 'rugged'
require 'set'
require 'json'
require 'shellwords'
repo = Rugged::Repository.new '.'
lines_to_run = Set.new
repo.index.diff.each_patch { |patch|
delta = patch.delta
require 'coverage'
require 'json'
Coverage.start
require 'minitest'
module America
LOGS = []
diff --git a/insns.def b/insns.def
index 81aca8f..1c14bb9 100644
--- a/insns.def
+++ b/insns.def
@@ -318,8 +318,15 @@ putspecialobject
val = rb_mRubyVMFrozenCore;
break;
case VM_SPECIAL_OBJECT_CBASE:
- val = vm_get_cbase(GET_ISEQ(), GET_EP());
+ {
require 'coverage'
require 'json'
# This must be run with this patch applied:
# https://bugs.ruby-lang.org/issues/10816
Coverage.start
require 'minitest'
require 'coverage'
require 'json'
Coverage.start
require 'minitest'
class Minitest::Runnable
LOG = File.open('run_log.txt', 'w')
# Activate the gem you are reporting the issue against.
gem 'activerecord'
gem 'activesupport'
require 'active_support'
require 'active_support/core_ext/numeric/conversions'
require 'objspace'
require 'active_record'
Something went wrong with that request. Please try again.