null_object_models 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/lib/null_object_models.rb +6 -0
  5. data/lib/null_object_models/default.rb +14 -0
  6. data/lib/null_object_models/extension.rb +29 -0
  7. data/lib/null_object_models/null_class_delegator.rb +17 -0
  8. data/lib/null_object_models/version.rb +3 -0
  9. data/spec/dummy/README.rdoc +28 -0
  10. data/spec/dummy/Rakefile +6 -0
  11. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  12. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  13. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  14. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  15. data/spec/dummy/app/models/another_test_model.rb +5 -0
  16. data/spec/dummy/app/models/test_model.rb +5 -0
  17. data/spec/dummy/app/models/test_model_without_null.rb +2 -0
  18. data/spec/dummy/app/null_models/null_test_model.rb +2 -0
  19. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/spec/dummy/bin/bundle +3 -0
  21. data/spec/dummy/bin/rails +4 -0
  22. data/spec/dummy/bin/rake +4 -0
  23. data/spec/dummy/bin/setup +29 -0
  24. data/spec/dummy/config.ru +4 -0
  25. data/spec/dummy/config/application.rb +26 -0
  26. data/spec/dummy/config/boot.rb +5 -0
  27. data/spec/dummy/config/database.yml +12 -0
  28. data/spec/dummy/config/environment.rb +5 -0
  29. data/spec/dummy/config/environments/development.rb +41 -0
  30. data/spec/dummy/config/environments/production.rb +79 -0
  31. data/spec/dummy/config/environments/test.rb +42 -0
  32. data/spec/dummy/config/initializers/assets.rb +11 -0
  33. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  35. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/spec/dummy/config/initializers/inflections.rb +16 -0
  37. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  38. data/spec/dummy/config/initializers/session_store.rb +3 -0
  39. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/spec/dummy/config/locales/en.yml +23 -0
  41. data/spec/dummy/config/routes.rb +56 -0
  42. data/spec/dummy/config/secrets.yml +22 -0
  43. data/spec/dummy/db/migrate/20160226004548_create_test_models.rb +9 -0
  44. data/spec/dummy/db/schema.rb +22 -0
  45. data/spec/dummy/log/development.log +95 -0
  46. data/spec/dummy/log/test.log +307 -0
  47. data/spec/dummy/public/404.html +67 -0
  48. data/spec/dummy/public/422.html +67 -0
  49. data/spec/dummy/public/500.html +66 -0
  50. data/spec/dummy/public/favicon.ico +0 -0
  51. data/spec/dummy/test/fixtures/test_models.yml +7 -0
  52. data/spec/dummy/test/models/test_model_test.rb +7 -0
  53. data/spec/factories/test_model.rb +6 -0
  54. data/spec/null_test_model_spec.rb +12 -0
  55. data/spec/spec_helper.rb +12 -0
  56. data/spec/support/factory_girl.rb +3 -0
  57. data/spec/test_model_spec.rb +73 -0
  58. metadata +227 -0
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ Rails.application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 6fc78af225a70846017eb06d8b6bc5dcc5779076a9ebf103cb22006748b78be8c3a8b19aa1fa60ad245346dc582b22e8a9dd7cdd723dbf96473dc1ac0968a70a
15
+
16
+ test:
17
+ secret_key_base: ea07c873fc19fb9d475c0d275ac3df411b99ab61a7d4df8eca059d69822f9b8b5876d115dc00e0d1bf01ee00ad2b07d9fc950938fa7fbff37722ff5bd23c3b12
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,9 @@
1
+ class CreateTestModels < ActiveRecord::Migration
2
+ def change
3
+ create_table :test_models do |t|
4
+ t.string :name
5
+
6
+ t.timestamps null: false
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,22 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20160226004548) do
15
+
16
+ create_table "test_models", force: :cascade do |t|
17
+ t.string "name"
18
+ t.datetime "created_at", null: false
19
+ t.datetime "updated_at", null: false
20
+ end
21
+
22
+ end
@@ -0,0 +1,95 @@
1
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
+ Migrating to CreateTestModels (20160226004548)
6
+  (0.1ms) begin transaction
7
+  (0.3ms) CREATE TABLE "test_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160226004548"]]
9
+  (0.7ms) commit transaction
10
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
11
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+  (0.9ms) CREATE TABLE "test_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
14
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
15
+  (0.0ms) select sqlite_version(*)
16
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
17
+  (0.1ms) SELECT version FROM "schema_migrations"
18
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
19
+  (1.7ms) CREATE TABLE "test_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
20
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
21
+  (0.1ms) select sqlite_version(*)
22
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23
+  (0.1ms) SELECT version FROM "schema_migrations"
24
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
25
+  (0.8ms) DROP DATABASE IF EXISTS "null_object_models_dummy_development"
26
+  (0.1ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
27
+  (351.1ms) CREATE DATABASE "null_object_models_dummy_development" ENCODING = 'unicode'
28
+  (244.4ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
29
+  (5.8ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
30
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
31
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
32
+  (0.2ms) SELECT version FROM "schema_migrations"
33
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
34
+  (8.9ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
35
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
36
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
37
+  (0.2ms) SELECT version FROM "schema_migrations"
38
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
39
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
+  (117.1ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
41
+  (235.9ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
42
+  (3.8ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
43
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
44
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
45
+  (0.2ms) SELECT version FROM "schema_migrations"
46
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
47
+  (114.1ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
48
+  (232.6ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
49
+  (3.7ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
50
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
51
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
52
+  (0.2ms) SELECT version FROM "schema_migrations"
53
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
54
+  (114.6ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
55
+  (238.1ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
56
+  (3.8ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
57
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
58
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59
+  (0.2ms) SELECT version FROM "schema_migrations"
60
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
61
+  (113.9ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
62
+  (237.2ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
63
+  (4.3ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
64
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
65
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
66
+  (0.2ms) SELECT version FROM "schema_migrations"
67
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
68
+  (114.6ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
69
+  (243.3ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
70
+  (3.4ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
71
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
72
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
73
+  (0.2ms) SELECT version FROM "schema_migrations"
74
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
75
+  (114.7ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
76
+  (241.6ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
77
+  (4.1ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
78
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
79
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
80
+  (0.2ms) SELECT version FROM "schema_migrations"
81
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
82
+  (115.4ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
83
+  (240.9ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
84
+  (3.7ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
85
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
86
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
87
+  (0.2ms) SELECT version FROM "schema_migrations"
88
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
89
+  (114.6ms) DROP DATABASE IF EXISTS "null_object_models_dummy_test"
90
+  (251.4ms) CREATE DATABASE "null_object_models_dummy_test" ENCODING = 'unicode'
91
+  (3.7ms) CREATE TABLE "test_models" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
92
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)
93
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
94
+  (0.2ms) SELECT version FROM "schema_migrations"
95
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160226004548')
@@ -0,0 +1,307 @@
1
+  (0.1ms) BEGIN
2
+  (0.2ms) ROLLBACK
3
+  (0.1ms) BEGIN
4
+  (0.1ms) ROLLBACK
5
+  (0.1ms) BEGIN
6
+  (0.1ms) ROLLBACK
7
+  (0.0ms) BEGIN
8
+  (0.1ms) SAVEPOINT active_record_1
9
+ SQL (30.5ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.911299"], ["updated_at", "2016-10-25 22:30:30.911299"]]
10
+  (0.7ms) RELEASE SAVEPOINT active_record_1
11
+ TestModel Load (11.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 192]]
12
+  (0.1ms) ROLLBACK
13
+  (0.1ms) BEGIN
14
+ TestModel Load (10.8ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]]
15
+  (0.2ms) ROLLBACK
16
+  (0.1ms) BEGIN
17
+  (0.1ms) SAVEPOINT active_record_1
18
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.979973"], ["updated_at", "2016-10-25 22:30:30.979973"]]
19
+  (0.1ms) RELEASE SAVEPOINT active_record_1
20
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 193]]
21
+  (0.1ms) ROLLBACK
22
+  (0.1ms) BEGIN
23
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 6]]
24
+  (0.1ms) ROLLBACK
25
+  (0.1ms) BEGIN
26
+  (0.1ms) SAVEPOINT active_record_1
27
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.983439"], ["updated_at", "2016-10-25 22:30:30.983439"]]
28
+  (0.1ms) RELEASE SAVEPOINT active_record_1
29
+  (0.1ms) SAVEPOINT active_record_1
30
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.984465"], ["updated_at", "2016-10-25 22:30:30.984465"]]
31
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32
+  (0.1ms) SAVEPOINT active_record_1
33
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.985412"], ["updated_at", "2016-10-25 22:30:30.985412"]]
34
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35
+  (0.0ms) SAVEPOINT active_record_1
36
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.986305"], ["updated_at", "2016-10-25 22:30:30.986305"]]
37
+  (0.1ms) RELEASE SAVEPOINT active_record_1
38
+  (0.1ms) SAVEPOINT active_record_1
39
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 22:30:30.987165"], ["updated_at", "2016-10-25 22:30:30.987165"]]
40
+  (0.1ms) RELEASE SAVEPOINT active_record_1
41
+ TestModel Load (6.6ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (194, 195, 196, 197, 198)
42
+  (0.1ms) ROLLBACK
43
+  (0.1ms) BEGIN
44
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (17, 33, 68, 100, 171)
45
+  (0.1ms) ROLLBACK
46
+  (0.1ms) BEGIN
47
+  (0.1ms) SAVEPOINT active_record_1
48
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 1], ["created_at", "2016-10-25 22:30:30.999376"], ["updated_at", "2016-10-25 22:30:30.999376"]]
49
+  (0.1ms) RELEASE SAVEPOINT active_record_1
50
+  (0.1ms) SAVEPOINT active_record_1
51
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 2], ["created_at", "2016-10-25 22:30:31.000798"], ["updated_at", "2016-10-25 22:30:31.000798"]]
52
+  (0.1ms) RELEASE SAVEPOINT active_record_1
53
+  (0.1ms) SAVEPOINT active_record_1
54
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 3], ["created_at", "2016-10-25 22:30:31.001968"], ["updated_at", "2016-10-25 22:30:31.001968"]]
55
+  (0.1ms) RELEASE SAVEPOINT active_record_1
56
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (1, 33, 2, 3, 171)
57
+  (0.1ms) ROLLBACK
58
+  (0.1ms) BEGIN
59
+  (0.1ms) BEGIN
60
+  (0.1ms) ROLLBACK
61
+  (0.1ms) BEGIN
62
+  (0.1ms) ROLLBACK
63
+  (0.1ms) BEGIN
64
+  (0.1ms) ROLLBACK
65
+  (0.1ms) BEGIN
66
+  (0.1ms) SAVEPOINT active_record_1
67
+ SQL (0.4ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.045073"], ["updated_at", "2016-10-25 23:06:52.045073"]]
68
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 199]]
70
+  (0.1ms) ROLLBACK
71
+  (0.1ms) BEGIN
72
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]]
73
+  (0.1ms) ROLLBACK
74
+  (0.1ms) BEGIN
75
+  (0.1ms) SAVEPOINT active_record_1
76
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.061166"], ["updated_at", "2016-10-25 23:06:52.061166"]]
77
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 200]]
79
+  (0.1ms) ROLLBACK
80
+  (0.1ms) BEGIN
81
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 6]]
82
+  (0.1ms) ROLLBACK
83
+  (0.1ms) BEGIN
84
+  (0.1ms) SAVEPOINT active_record_1
85
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.064702"], ["updated_at", "2016-10-25 23:06:52.064702"]]
86
+  (0.1ms) RELEASE SAVEPOINT active_record_1
87
+  (0.1ms) SAVEPOINT active_record_1
88
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.065782"], ["updated_at", "2016-10-25 23:06:52.065782"]]
89
+  (0.1ms) RELEASE SAVEPOINT active_record_1
90
+  (0.0ms) SAVEPOINT active_record_1
91
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.066725"], ["updated_at", "2016-10-25 23:06:52.066725"]]
92
+  (0.1ms) RELEASE SAVEPOINT active_record_1
93
+  (0.0ms) SAVEPOINT active_record_1
94
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.067892"], ["updated_at", "2016-10-25 23:06:52.067892"]]
95
+  (0.1ms) RELEASE SAVEPOINT active_record_1
96
+  (0.0ms) SAVEPOINT active_record_1
97
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:06:52.068724"], ["updated_at", "2016-10-25 23:06:52.068724"]]
98
+  (0.1ms) RELEASE SAVEPOINT active_record_1
99
+ TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (201, 202, 203, 204, 205)
100
+  (0.2ms) ROLLBACK
101
+  (0.1ms) BEGIN
102
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (17, 33, 68, 100, 171)
103
+  (0.1ms) ROLLBACK
104
+  (0.1ms) BEGIN
105
+  (0.1ms) SAVEPOINT active_record_1
106
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 1], ["created_at", "2016-10-25 23:06:52.075511"], ["updated_at", "2016-10-25 23:06:52.075511"]]
107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
108
+  (0.1ms) SAVEPOINT active_record_1
109
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 2], ["created_at", "2016-10-25 23:06:52.076871"], ["updated_at", "2016-10-25 23:06:52.076871"]]
110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
111
+  (0.1ms) SAVEPOINT active_record_1
112
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 3], ["created_at", "2016-10-25 23:06:52.077996"], ["updated_at", "2016-10-25 23:06:52.077996"]]
113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
114
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (1, 33, 2, 3, 171)
115
+  (0.1ms) ROLLBACK
116
+  (0.1ms) BEGIN
117
+  (0.1ms) BEGIN
118
+  (0.1ms) ROLLBACK
119
+  (0.1ms) BEGIN
120
+  (0.1ms) ROLLBACK
121
+  (0.1ms) BEGIN
122
+  (0.1ms) ROLLBACK
123
+  (0.1ms) BEGIN
124
+  (0.1ms) SAVEPOINT active_record_1
125
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.729172"], ["updated_at", "2016-10-25 23:26:58.729172"]]
126
+  (0.1ms) RELEASE SAVEPOINT active_record_1
127
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 206]]
128
+  (0.1ms) ROLLBACK
129
+  (0.1ms) BEGIN
130
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]]
131
+  (0.1ms) ROLLBACK
132
+  (0.0ms) BEGIN
133
+  (0.0ms) SAVEPOINT active_record_1
134
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.737482"], ["updated_at", "2016-10-25 23:26:58.737482"]]
135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
136
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 207]]
137
+  (0.1ms) ROLLBACK
138
+  (0.0ms) BEGIN
139
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 6]]
140
+  (0.1ms) ROLLBACK
141
+  (0.0ms) BEGIN
142
+  (0.1ms) SAVEPOINT active_record_1
143
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.740300"], ["updated_at", "2016-10-25 23:26:58.740300"]]
144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145
+  (0.1ms) SAVEPOINT active_record_1
146
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.741318"], ["updated_at", "2016-10-25 23:26:58.741318"]]
147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148
+  (0.0ms) SAVEPOINT active_record_1
149
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.742187"], ["updated_at", "2016-10-25 23:26:58.742187"]]
150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
151
+  (0.0ms) SAVEPOINT active_record_1
152
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.743009"], ["updated_at", "2016-10-25 23:26:58.743009"]]
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
154
+  (0.1ms) SAVEPOINT active_record_1
155
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:26:58.743797"], ["updated_at", "2016-10-25 23:26:58.743797"]]
156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157
+ TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (208, 209, 210, 211, 212)
158
+  (0.1ms) ROLLBACK
159
+  (0.0ms) BEGIN
160
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (17, 33, 68, 100, 171)
161
+  (0.1ms) ROLLBACK
162
+  (0.0ms) BEGIN
163
+  (0.0ms) SAVEPOINT active_record_1
164
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 1], ["created_at", "2016-10-25 23:26:58.748466"], ["updated_at", "2016-10-25 23:26:58.748466"]]
165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
166
+  (0.0ms) SAVEPOINT active_record_1
167
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 2], ["created_at", "2016-10-25 23:26:58.749453"], ["updated_at", "2016-10-25 23:26:58.749453"]]
168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
169
+  (0.0ms) SAVEPOINT active_record_1
170
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 3], ["created_at", "2016-10-25 23:26:58.750250"], ["updated_at", "2016-10-25 23:26:58.750250"]]
171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
172
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (1, 33, 2, 3, 171)
173
+  (0.1ms) ROLLBACK
174
+  (0.1ms) BEGIN
175
+  (0.1ms) ROLLBACK
176
+  (0.0ms) BEGIN
177
+  (0.0ms) ROLLBACK
178
+  (0.0ms) BEGIN
179
+  (0.1ms) ROLLBACK
180
+  (0.0ms) BEGIN
181
+  (0.1ms) SAVEPOINT active_record_1
182
+ SQL (0.3ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.690617"], ["updated_at", "2016-10-25 23:27:14.690617"]]
183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
184
+ TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 213]]
185
+  (0.1ms) ROLLBACK
186
+  (0.1ms) BEGIN
187
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]]
188
+  (0.1ms) ROLLBACK
189
+  (0.1ms) BEGIN
190
+  (0.1ms) SAVEPOINT active_record_1
191
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.701445"], ["updated_at", "2016-10-25 23:27:14.701445"]]
192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
193
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 214]]
194
+  (0.1ms) ROLLBACK
195
+  (0.1ms) BEGIN
196
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 6]]
197
+  (0.1ms) ROLLBACK
198
+  (0.1ms) BEGIN
199
+  (0.1ms) SAVEPOINT active_record_1
200
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.704887"], ["updated_at", "2016-10-25 23:27:14.704887"]]
201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
202
+  (0.1ms) SAVEPOINT active_record_1
203
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.706028"], ["updated_at", "2016-10-25 23:27:14.706028"]]
204
+  (0.1ms) RELEASE SAVEPOINT active_record_1
205
+  (0.0ms) SAVEPOINT active_record_1
206
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.706919"], ["updated_at", "2016-10-25 23:27:14.706919"]]
207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
208
+  (0.0ms) SAVEPOINT active_record_1
209
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.707799"], ["updated_at", "2016-10-25 23:27:14.707799"]]
210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
211
+  (0.0ms) SAVEPOINT active_record_1
212
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", "2016-10-25 23:27:14.708620"], ["updated_at", "2016-10-25 23:27:14.708620"]]
213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
214
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (215, 216, 217, 218, 219)
215
+  (0.1ms) ROLLBACK
216
+  (0.0ms) BEGIN
217
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (17, 33, 68, 100, 171)
218
+  (0.1ms) ROLLBACK
219
+  (0.1ms) BEGIN
220
+  (0.1ms) SAVEPOINT active_record_1
221
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 1], ["created_at", "2016-10-25 23:27:14.713001"], ["updated_at", "2016-10-25 23:27:14.713001"]]
222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
223
+  (0.0ms) SAVEPOINT active_record_1
224
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 2], ["created_at", "2016-10-25 23:27:14.713986"], ["updated_at", "2016-10-25 23:27:14.713986"]]
225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
226
+  (0.0ms) SAVEPOINT active_record_1
227
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "John"], ["id", 3], ["created_at", "2016-10-25 23:27:14.714815"], ["updated_at", "2016-10-25 23:27:14.714815"]]
228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
229
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (1, 33, 2, 3, 171)
230
+  (0.1ms) ROLLBACK
231
+  (0.1ms) BEGIN
232
+  (0.1ms) ROLLBACK
233
+  (0.1ms) BEGIN
234
+  (0.1ms) BEGIN
235
+  (0.2ms) ROLLBACK
236
+  (0.1ms) BEGIN
237
+  (0.1ms) ROLLBACK
238
+  (0.1ms) BEGIN
239
+  (0.1ms) ROLLBACK
240
+  (0.1ms) BEGIN
241
+  (0.1ms) ROLLBACK
242
+  (0.1ms) BEGIN
243
+  (0.1ms) ROLLBACK
244
+  (0.0ms) BEGIN
245
+  (0.2ms) ROLLBACK
246
+  (0.1ms) BEGIN
247
+  (0.1ms) ROLLBACK
248
+  (0.1ms) BEGIN
249
+  (0.1ms) BEGIN
250
+  (0.1ms) ROLLBACK
251
+  (0.1ms) BEGIN
252
+  (0.2ms) ROLLBACK
253
+  (0.1ms) BEGIN
254
+  (0.1ms) ROLLBACK
255
+  (0.1ms) BEGIN
256
+  (0.1ms) ROLLBACK
257
+  (0.1ms) BEGIN
258
+  (0.1ms) SAVEPOINT active_record_1
259
+ SQL (0.4ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
260
+  (0.1ms) RELEASE SAVEPOINT active_record_1
261
+ TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT $2 [["id", 220], ["LIMIT", 1]]
262
+  (0.1ms) ROLLBACK
263
+  (0.1ms) BEGIN
264
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
265
+  (0.1ms) ROLLBACK
266
+  (0.0ms) BEGIN
267
+  (0.0ms) SAVEPOINT active_record_1
268
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
270
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT $2 [["id", 221], ["LIMIT", 1]]
271
+  (0.1ms) ROLLBACK
272
+  (0.0ms) BEGIN
273
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT $2 [["id", 6], ["LIMIT", 1]]
274
+  (0.1ms) ROLLBACK
275
+  (0.0ms) BEGIN
276
+  (0.1ms) SAVEPOINT active_record_1
277
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
279
+  (0.1ms) SAVEPOINT active_record_1
280
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
282
+  (0.1ms) SAVEPOINT active_record_1
283
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.1ms) SAVEPOINT active_record_1
286
+ SQL (0.1ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
288
+  (0.1ms) SAVEPOINT active_record_1
289
+ SQL (0.2ms) INSERT INTO "test_models" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
291
+ TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (222, 223, 224, 225, 226)
292
+  (0.1ms) ROLLBACK
293
+  (0.1ms) BEGIN
294
+ TestModel Load (0.1ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (17, 33, 68, 100, 171)
295
+  (0.1ms) ROLLBACK
296
+  (0.0ms) BEGIN
297
+  (0.0ms) SAVEPOINT active_record_1
298
+ SQL (0.2ms) INSERT INTO "test_models" ("id", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["id", 1], ["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
300
+  (0.1ms) SAVEPOINT active_record_1
301
+ SQL (0.2ms) INSERT INTO "test_models" ("id", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["id", 2], ["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (0.1ms) INSERT INTO "test_models" ("id", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["id", 3], ["name", "John"], ["created_at", 2016-10-26 00:39:14 UTC], ["updated_at", 2016-10-26 00:39:14 UTC]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+ TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" IN (1, 33, 2, 3, 171)
307
+  (0.1ms) ROLLBACK