enja 0.1.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 (72) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +50 -0
  3. data/Rakefile +6 -0
  4. data/lib/enja.rb +36 -0
  5. data/lib/enja/railtie.rb +9 -0
  6. data/lib/enja/version.rb +3 -0
  7. data/lib/generators/enja/USAGE +9 -0
  8. data/lib/generators/enja/helper.rb +61 -0
  9. data/lib/generators/enja/install_generator.rb +39 -0
  10. data/lib/generators/enja/templates/migration.erb +6 -0
  11. data/spec/enja_spec.rb +7 -0
  12. data/spec/model_spec.rb +66 -0
  13. data/spec/rails/rails-5.1.2/README.md +24 -0
  14. data/spec/rails/rails-5.1.2/Rakefile +6 -0
  15. data/spec/rails/rails-5.1.2/app/assets/config/manifest.js +3 -0
  16. data/spec/rails/rails-5.1.2/app/assets/javascripts/application.js +15 -0
  17. data/spec/rails/rails-5.1.2/app/assets/javascripts/cable.js +13 -0
  18. data/spec/rails/rails-5.1.2/app/assets/stylesheets/application.css +15 -0
  19. data/spec/rails/rails-5.1.2/app/channels/application_cable/channel.rb +4 -0
  20. data/spec/rails/rails-5.1.2/app/channels/application_cable/connection.rb +4 -0
  21. data/spec/rails/rails-5.1.2/app/controllers/application_controller.rb +3 -0
  22. data/spec/rails/rails-5.1.2/app/helpers/application_helper.rb +2 -0
  23. data/spec/rails/rails-5.1.2/app/jobs/application_job.rb +2 -0
  24. data/spec/rails/rails-5.1.2/app/mailers/application_mailer.rb +4 -0
  25. data/spec/rails/rails-5.1.2/app/models/application_record.rb +3 -0
  26. data/spec/rails/rails-5.1.2/app/models/user.rb +3 -0
  27. data/spec/rails/rails-5.1.2/app/views/layouts/application.html.erb +14 -0
  28. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.html.erb +13 -0
  29. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.text.erb +1 -0
  30. data/spec/rails/rails-5.1.2/bin/bundle +3 -0
  31. data/spec/rails/rails-5.1.2/bin/rails +4 -0
  32. data/spec/rails/rails-5.1.2/bin/rake +4 -0
  33. data/spec/rails/rails-5.1.2/bin/setup +38 -0
  34. data/spec/rails/rails-5.1.2/bin/update +29 -0
  35. data/spec/rails/rails-5.1.2/bin/yarn +11 -0
  36. data/spec/rails/rails-5.1.2/config.ru +5 -0
  37. data/spec/rails/rails-5.1.2/config/application.rb +31 -0
  38. data/spec/rails/rails-5.1.2/config/boot.rb +3 -0
  39. data/spec/rails/rails-5.1.2/config/cable.yml +10 -0
  40. data/spec/rails/rails-5.1.2/config/database.yml +25 -0
  41. data/spec/rails/rails-5.1.2/config/environment.rb +5 -0
  42. data/spec/rails/rails-5.1.2/config/environments/development.rb +47 -0
  43. data/spec/rails/rails-5.1.2/config/environments/production.rb +83 -0
  44. data/spec/rails/rails-5.1.2/config/environments/test.rb +42 -0
  45. data/spec/rails/rails-5.1.2/config/initializers/application_controller_renderer.rb +6 -0
  46. data/spec/rails/rails-5.1.2/config/initializers/backtrace_silencers.rb +7 -0
  47. data/spec/rails/rails-5.1.2/config/initializers/cookies_serializer.rb +5 -0
  48. data/spec/rails/rails-5.1.2/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/spec/rails/rails-5.1.2/config/initializers/inflections.rb +16 -0
  50. data/spec/rails/rails-5.1.2/config/initializers/mime_types.rb +4 -0
  51. data/spec/rails/rails-5.1.2/config/initializers/wrap_parameters.rb +14 -0
  52. data/spec/rails/rails-5.1.2/config/locales/en.yml +33 -0
  53. data/spec/rails/rails-5.1.2/config/puma.rb +56 -0
  54. data/spec/rails/rails-5.1.2/config/routes.rb +3 -0
  55. data/spec/rails/rails-5.1.2/config/secrets.yml +32 -0
  56. data/spec/rails/rails-5.1.2/db/migrate/20170710091815_create_users.rb +8 -0
  57. data/spec/rails/rails-5.1.2/db/migrate/20170710091816_add_role_to_user_resources.rb +6 -0
  58. data/spec/rails/rails-5.1.2/db/schema.rb +22 -0
  59. data/spec/rails/rails-5.1.2/db/seeds.rb +7 -0
  60. data/spec/rails/rails-5.1.2/db/test.sqlite3 +0 -0
  61. data/spec/rails/rails-5.1.2/log/test.log +730 -0
  62. data/spec/rails/rails-5.1.2/package.json +5 -0
  63. data/spec/rails/rails-5.1.2/public/404.html +67 -0
  64. data/spec/rails/rails-5.1.2/public/422.html +67 -0
  65. data/spec/rails/rails-5.1.2/public/500.html +66 -0
  66. data/spec/rails/rails-5.1.2/public/apple-touch-icon-precomposed.png +0 -0
  67. data/spec/rails/rails-5.1.2/public/apple-touch-icon.png +0 -0
  68. data/spec/rails/rails-5.1.2/public/favicon.ico +0 -0
  69. data/spec/rails/rails-5.1.2/public/robots.txt +1 -0
  70. data/spec/spec_helper.rb +45 -0
  71. data/spec/support/rails_template.rb +9 -0
  72. metadata +203 -0
@@ -0,0 +1,33 @@
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
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at http://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
7
+ threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
+ threads threads_count, threads_count
9
+
10
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
11
+ #
12
+ port ENV.fetch("PORT") { 3000 }
13
+
14
+ # Specifies the `environment` that Puma will run in.
15
+ #
16
+ environment ENV.fetch("RAILS_ENV") { "development" }
17
+
18
+ # Specifies the number of `workers` to boot in clustered mode.
19
+ # Workers are forked webserver processes. If using threads and workers together
20
+ # the concurrency of the application would be max `threads` * `workers`.
21
+ # Workers do not work on JRuby or Windows (both of which do not support
22
+ # processes).
23
+ #
24
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
25
+
26
+ # Use the `preload_app!` method when specifying a `workers` number.
27
+ # This directive tells Puma to first boot the application and load code
28
+ # before forking the application. This takes advantage of Copy On Write
29
+ # process behavior so workers use less memory. If you use this option
30
+ # you need to make sure to reconnect any threads in the `on_worker_boot`
31
+ # block.
32
+ #
33
+ # preload_app!
34
+
35
+ # If you are preloading your application and using Active Record, it's
36
+ # recommended that you close any connections to the database before workers
37
+ # are forked to prevent connection leakage.
38
+ #
39
+ # before_fork do
40
+ # ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
41
+ # end
42
+
43
+ # The code in the `on_worker_boot` will be called if you are using
44
+ # clustered mode by specifying a number of `workers`. After each worker
45
+ # process is booted, this block will be run. If you are using the `preload_app!`
46
+ # option, you will want to use this block to reconnect to any threads
47
+ # or connections that may have been created at application boot, as Ruby
48
+ # cannot share connections between processes.
49
+ #
50
+ # on_worker_boot do
51
+ # ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
52
+ # end
53
+ #
54
+
55
+ # Allow puma to be restarted by `rails restart` command.
56
+ plugin :tmp_restart
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
3
+ end
@@ -0,0 +1,32 @@
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 `rails 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
+ # Shared secrets are available across all environments.
14
+
15
+ # shared:
16
+ # api_key: a1B2c3D4e5F6
17
+
18
+ # Environmental secrets are only available for that specific environment.
19
+
20
+ development:
21
+ secret_key_base: c1ad2daae5d0f8ac963308ff6702b7cde845d5fb37aff2007f4430f5b00723a2c95ac5e84a34f818ed6bbdf6e2136b770907380269552791e187338d2e07d8ad
22
+
23
+ test:
24
+ secret_key_base: 1ec910fdb152de0c7a47ddc49c74c6486035b19d4bbaf8b5aaee44bf708b09b6bc1223bf1440296889bb2a2471aec1cfc852074a0a86f05135a748a83dcbe797
25
+
26
+ # Do not keep production secrets in the unencrypted secrets file.
27
+ # Instead, either read values from the environment.
28
+ # Or, use `bin/rails secrets:setup` to configure encrypted secrets
29
+ # and move the `production:` environment over there.
30
+
31
+ production:
32
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,8 @@
1
+ class CreateUsers < ActiveRecord::Migration[5.1]
2
+ def change
3
+ create_table :users do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ class AddRoleToUserResources < ActiveRecord::Migration[5.1]
2
+ def change
3
+ add_column :users, :role, :string, null: false, default: ""
4
+ add_index :users, :role
5
+ end
6
+ end
@@ -0,0 +1,22 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 20170710091816) do
14
+
15
+ create_table "users", force: :cascade do |t|
16
+ t.datetime "created_at", null: false
17
+ t.datetime "updated_at", null: false
18
+ t.string "role", default: "", null: false
19
+ t.index ["role"], name: "index_users_on_role"
20
+ end
21
+
22
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
@@ -0,0 +1,730 @@
1
+  (0.1ms) SELECT sqlite_version(*)
2
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
+ Migrating to CreateUsers (20170710091815)
6
+  (0.0ms) begin transaction
7
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170710091815"]]
9
+  (0.5ms) commit transaction
10
+ Migrating to AddRoleToUserResources (20170710091816)
11
+  (0.0ms) begin transaction
12
+  (0.3ms) ALTER TABLE "users" ADD "role" varchar DEFAULT '' NOT NULL
13
+  (0.1ms) CREATE INDEX "index_users_on_role" ON "users" ("role")
14
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170710091816"]]
15
+  (0.5ms) commit transaction
16
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
17
+  (0.0ms) begin transaction
18
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-07-10 09:18:17.995661"], ["updated_at", "2017-07-10 09:18:17.995661"]]
19
+  (0.6ms) commit transaction
20
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
21
+  (0.1ms)  SELECT sql
22
+ FROM sqlite_master
23
+ WHERE name='index_users_on_role' AND type='index'
24
+ UNION ALL
25
+ SELECT sql
26
+ FROM sqlite_temp_master
27
+ WHERE name='index_users_on_role' AND type='index'
28
+ 
29
+  (0.1ms) begin transaction
30
+  (0.0ms) rollback transaction
31
+  (0.0ms) begin transaction
32
+  (0.1ms) SAVEPOINT active_record_1
33
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:18.995062"], ["updated_at", "2017-07-10 09:18:18.995062"], ["role", "guest"]]
34
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35
+  (0.0ms) SAVEPOINT active_record_1
36
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.001770"], ["updated_at", "2017-07-10 09:18:19.001770"], ["role", "staff"]]
37
+  (0.0ms) RELEASE SAVEPOINT active_record_1
38
+  (0.0ms) SAVEPOINT active_record_1
39
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.002985"], ["updated_at", "2017-07-10 09:18:19.002985"], ["role", "admin"]]
40
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41
+  (2.0ms) rollback transaction
42
+  (0.1ms) begin transaction
43
+  (0.1ms) SAVEPOINT active_record_1
44
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.011603"], ["updated_at", "2017-07-10 09:18:19.011603"], ["role", "guest"]]
45
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46
+  (0.0ms) SAVEPOINT active_record_1
47
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.012975"], ["updated_at", "2017-07-10 09:18:19.012975"], ["role", "staff"]]
48
+  (0.0ms) RELEASE SAVEPOINT active_record_1
49
+  (0.0ms) SAVEPOINT active_record_1
50
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.013853"], ["updated_at", "2017-07-10 09:18:19.013853"], ["role", "admin"]]
51
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
53
+  (0.4ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+  (0.0ms) SAVEPOINT active_record_1
56
+ SQL (0.7ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.018943"], ["updated_at", "2017-07-10 09:18:19.018943"], ["role", "guest"]]
57
+  (0.1ms) RELEASE SAVEPOINT active_record_1
58
+  (0.1ms) SAVEPOINT active_record_1
59
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.022209"], ["updated_at", "2017-07-10 09:18:19.022209"], ["role", "staff"]]
60
+  (0.0ms) RELEASE SAVEPOINT active_record_1
61
+  (0.0ms) SAVEPOINT active_record_1
62
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.023435"], ["updated_at", "2017-07-10 09:18:19.023435"], ["role", "admin"]]
63
+  (0.0ms) RELEASE SAVEPOINT active_record_1
64
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
65
+  (0.3ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+  (0.0ms) SAVEPOINT active_record_1
68
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.026551"], ["updated_at", "2017-07-10 09:18:19.026551"], ["role", "guest"]]
69
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70
+  (0.0ms) SAVEPOINT active_record_1
71
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.027865"], ["updated_at", "2017-07-10 09:18:19.027865"], ["role", "staff"]]
72
+  (0.1ms) RELEASE SAVEPOINT active_record_1
73
+  (0.1ms) SAVEPOINT active_record_1
74
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.029632"], ["updated_at", "2017-07-10 09:18:19.029632"], ["role", "admin"]]
75
+  (0.0ms) RELEASE SAVEPOINT active_record_1
76
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
77
+  (0.3ms) rollback transaction
78
+  (0.1ms) begin transaction
79
+  (0.1ms) SAVEPOINT active_record_1
80
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.033162"], ["updated_at", "2017-07-10 09:18:19.033162"], ["role", "guest"]]
81
+  (0.1ms) RELEASE SAVEPOINT active_record_1
82
+  (0.0ms) SAVEPOINT active_record_1
83
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.034514"], ["updated_at", "2017-07-10 09:18:19.034514"], ["role", "staff"]]
84
+  (0.0ms) RELEASE SAVEPOINT active_record_1
85
+  (0.0ms) SAVEPOINT active_record_1
86
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.035580"], ["updated_at", "2017-07-10 09:18:19.035580"], ["role", "admin"]]
87
+  (0.1ms) RELEASE SAVEPOINT active_record_1
88
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
89
+  (0.3ms) rollback transaction
90
+  (0.0ms) begin transaction
91
+  (0.0ms) SAVEPOINT active_record_1
92
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.038365"], ["updated_at", "2017-07-10 09:18:19.038365"], ["role", "guest"]]
93
+  (0.1ms) RELEASE SAVEPOINT active_record_1
94
+  (0.0ms) SAVEPOINT active_record_1
95
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.039582"], ["updated_at", "2017-07-10 09:18:19.039582"], ["role", "staff"]]
96
+  (0.0ms) RELEASE SAVEPOINT active_record_1
97
+  (0.0ms) SAVEPOINT active_record_1
98
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.040512"], ["updated_at", "2017-07-10 09:18:19.040512"], ["role", "admin"]]
99
+  (0.0ms) RELEASE SAVEPOINT active_record_1
100
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
101
+  (0.4ms) rollback transaction
102
+  (0.0ms) begin transaction
103
+  (0.0ms) SAVEPOINT active_record_1
104
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.045341"], ["updated_at", "2017-07-10 09:18:19.045341"], ["role", "guest"]]
105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
106
+  (0.0ms) SAVEPOINT active_record_1
107
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.046490"], ["updated_at", "2017-07-10 09:18:19.046490"], ["role", "staff"]]
108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
109
+  (0.0ms) SAVEPOINT active_record_1
110
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.047380"], ["updated_at", "2017-07-10 09:18:19.047380"], ["role", "admin"]]
111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
112
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
113
+  (0.3ms) rollback transaction
114
+  (0.0ms) begin transaction
115
+  (0.1ms) SAVEPOINT active_record_1
116
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.050115"], ["updated_at", "2017-07-10 09:18:19.050115"], ["role", "guest"]]
117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
118
+  (0.0ms) SAVEPOINT active_record_1
119
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.051336"], ["updated_at", "2017-07-10 09:18:19.051336"], ["role", "staff"]]
120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
121
+  (0.0ms) SAVEPOINT active_record_1
122
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.052285"], ["updated_at", "2017-07-10 09:18:19.052285"], ["role", "admin"]]
123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
124
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
125
+  (0.4ms) rollback transaction
126
+  (0.0ms) begin transaction
127
+  (0.1ms) SAVEPOINT active_record_1
128
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.055729"], ["updated_at", "2017-07-10 09:18:19.055729"], ["role", "guest"]]
129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
130
+  (0.1ms) SAVEPOINT active_record_1
131
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.058117"], ["updated_at", "2017-07-10 09:18:19.058117"], ["role", "staff"]]
132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
133
+  (0.0ms) SAVEPOINT active_record_1
134
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.073095"], ["updated_at", "2017-07-10 09:18:19.073095"], ["role", "admin"]]
135
+  (0.1ms) RELEASE SAVEPOINT active_record_1
136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
137
+  (0.9ms) rollback transaction
138
+  (0.1ms) begin transaction
139
+  (0.1ms) SAVEPOINT active_record_1
140
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.079306"], ["updated_at", "2017-07-10 09:18:19.079306"], ["role", "guest"]]
141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
142
+  (0.1ms) SAVEPOINT active_record_1
143
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.080719"], ["updated_at", "2017-07-10 09:18:19.080719"], ["role", "staff"]]
144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145
+  (0.0ms) SAVEPOINT active_record_1
146
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.081910"], ["updated_at", "2017-07-10 09:18:19.081910"], ["role", "admin"]]
147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
149
+  (0.3ms) rollback transaction
150
+  (0.0ms) begin transaction
151
+  (0.1ms) SAVEPOINT active_record_1
152
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.085327"], ["updated_at", "2017-07-10 09:18:19.085327"], ["role", "guest"]]
153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
154
+  (0.1ms) SAVEPOINT active_record_1
155
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.086773"], ["updated_at", "2017-07-10 09:18:19.086773"], ["role", "staff"]]
156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157
+  (0.0ms) SAVEPOINT active_record_1
158
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.087835"], ["updated_at", "2017-07-10 09:18:19.087835"], ["role", "admin"]]
159
+  (0.0ms) RELEASE SAVEPOINT active_record_1
160
+  (0.0ms) SAVEPOINT active_record_1
161
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.088716"], ["updated_at", "2017-07-10 09:18:19.088716"], ["role", "admin"]]
162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
163
+  (0.0ms) SAVEPOINT active_record_1
164
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.089568"], ["role", "guest"], ["id", 4]]
165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
166
+  (0.3ms) rollback transaction
167
+  (0.0ms) begin transaction
168
+  (0.0ms) SAVEPOINT active_record_1
169
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.092869"], ["updated_at", "2017-07-10 09:18:19.092869"], ["role", "guest"]]
170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
171
+  (0.0ms) SAVEPOINT active_record_1
172
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.094025"], ["updated_at", "2017-07-10 09:18:19.094025"], ["role", "staff"]]
173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
174
+  (0.0ms) SAVEPOINT active_record_1
175
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.094966"], ["updated_at", "2017-07-10 09:18:19.094966"], ["role", "admin"]]
176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
177
+  (0.1ms) SAVEPOINT active_record_1
178
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.099897"], ["updated_at", "2017-07-10 09:18:19.099897"], ["role", "admin"]]
179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
180
+  (0.0ms) SAVEPOINT active_record_1
181
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.100851"], ["role", "guest"], ["id", 4]]
182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
183
+  (0.4ms) rollback transaction
184
+  (0.1ms) begin transaction
185
+  (0.1ms) SAVEPOINT active_record_1
186
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.131294"], ["updated_at", "2017-07-10 09:18:19.131294"], ["role", "guest"]]
187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
188
+  (0.0ms) SAVEPOINT active_record_1
189
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.132945"], ["updated_at", "2017-07-10 09:18:19.132945"], ["role", "staff"]]
190
+  (0.0ms) RELEASE SAVEPOINT active_record_1
191
+  (0.0ms) SAVEPOINT active_record_1
192
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.134012"], ["updated_at", "2017-07-10 09:18:19.134012"], ["role", "admin"]]
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+  (0.0ms) SAVEPOINT active_record_1
195
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.135031"], ["updated_at", "2017-07-10 09:18:19.135031"], ["role", "guest"]]
196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
197
+  (0.0ms) SAVEPOINT active_record_1
198
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.135946"], ["role", "admin"], ["id", 4]]
199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
200
+  (0.3ms) rollback transaction
201
+  (0.0ms) begin transaction
202
+  (0.0ms) SAVEPOINT active_record_1
203
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.138141"], ["updated_at", "2017-07-10 09:18:19.138141"], ["role", "guest"]]
204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
205
+  (0.0ms) SAVEPOINT active_record_1
206
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.139401"], ["updated_at", "2017-07-10 09:18:19.139401"], ["role", "staff"]]
207
+  (0.0ms) RELEASE SAVEPOINT active_record_1
208
+  (0.0ms) SAVEPOINT active_record_1
209
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.140314"], ["updated_at", "2017-07-10 09:18:19.140314"], ["role", "admin"]]
210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
211
+  (0.0ms) SAVEPOINT active_record_1
212
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.141359"], ["updated_at", "2017-07-10 09:18:19.141359"], ["role", "guest"]]
213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
214
+  (0.0ms) SAVEPOINT active_record_1
215
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.142314"], ["role", "admin"], ["id", 4]]
216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
217
+  (0.4ms) rollback transaction
218
+  (0.1ms) begin transaction
219
+  (0.0ms) SAVEPOINT active_record_1
220
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.147767"], ["updated_at", "2017-07-10 09:18:19.147767"], ["role", "guest"]]
221
+  (0.0ms) RELEASE SAVEPOINT active_record_1
222
+  (0.0ms) SAVEPOINT active_record_1
223
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.148818"], ["updated_at", "2017-07-10 09:18:19.148818"], ["role", "staff"]]
224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
225
+  (0.0ms) SAVEPOINT active_record_1
226
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.149581"], ["updated_at", "2017-07-10 09:18:19.149581"], ["role", "admin"]]
227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
228
+  (0.3ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.0ms) SAVEPOINT active_record_1
231
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.151894"], ["updated_at", "2017-07-10 09:18:19.151894"], ["role", "guest"]]
232
+  (0.0ms) RELEASE SAVEPOINT active_record_1
233
+  (0.0ms) SAVEPOINT active_record_1
234
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.153105"], ["updated_at", "2017-07-10 09:18:19.153105"], ["role", "staff"]]
235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
236
+  (0.0ms) SAVEPOINT active_record_1
237
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.154375"], ["updated_at", "2017-07-10 09:18:19.154375"], ["role", "admin"]]
238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
239
+  (0.1ms) SAVEPOINT active_record_1
240
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.156227"], ["updated_at", "2017-07-10 09:18:19.156227"], ["role", "admin"]]
241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ SQL (0.2ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.158566"], ["role", "staff"], ["id", 4]]
244
+  (0.1ms) RELEASE SAVEPOINT active_record_1
245
+  (0.4ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+  (0.1ms) SAVEPOINT active_record_1
248
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.164693"], ["updated_at", "2017-07-10 09:18:19.164693"], ["role", "guest"]]
249
+  (0.1ms) RELEASE SAVEPOINT active_record_1
250
+  (0.1ms) SAVEPOINT active_record_1
251
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.167307"], ["updated_at", "2017-07-10 09:18:19.167307"], ["role", "staff"]]
252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
253
+  (0.1ms) SAVEPOINT active_record_1
254
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.168941"], ["updated_at", "2017-07-10 09:18:19.168941"], ["role", "admin"]]
255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
256
+  (0.0ms) SAVEPOINT active_record_1
257
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:19.170378"], ["updated_at", "2017-07-10 09:18:19.170378"], ["role", "admin"]]
258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
259
+  (0.0ms) SAVEPOINT active_record_1
260
+ SQL (0.3ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:19.171840"], ["role", "staff"], ["id", 4]]
261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
262
+  (0.6ms) rollback transaction
263
+  (0.0ms) begin transaction
264
+  (0.1ms) rollback transaction
265
+  (0.1ms) begin transaction
266
+  (0.1ms) SAVEPOINT active_record_1
267
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.535124"], ["updated_at", "2017-07-10 09:18:23.535124"], ["role", "guest"]]
268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
269
+  (0.1ms) SAVEPOINT active_record_1
270
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.544588"], ["updated_at", "2017-07-10 09:18:23.544588"], ["role", "staff"]]
271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
272
+  (0.0ms) SAVEPOINT active_record_1
273
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.545576"], ["updated_at", "2017-07-10 09:18:23.545576"], ["role", "admin"]]
274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
275
+  (0.0ms) SAVEPOINT active_record_1
276
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.547867"], ["updated_at", "2017-07-10 09:18:23.547867"], ["role", "guest"]]
277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
278
+  (0.0ms) SAVEPOINT active_record_1
279
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.548770"], ["role", "admin"], ["id", 4]]
280
+  (0.0ms) RELEASE SAVEPOINT active_record_1
281
+  (2.1ms) rollback transaction
282
+  (0.1ms) begin transaction
283
+  (0.1ms) SAVEPOINT active_record_1
284
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.591165"], ["updated_at", "2017-07-10 09:18:23.591165"], ["role", "guest"]]
285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
286
+  (0.1ms) SAVEPOINT active_record_1
287
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.592645"], ["updated_at", "2017-07-10 09:18:23.592645"], ["role", "staff"]]
288
+  (0.0ms) RELEASE SAVEPOINT active_record_1
289
+  (0.0ms) SAVEPOINT active_record_1
290
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.593592"], ["updated_at", "2017-07-10 09:18:23.593592"], ["role", "admin"]]
291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
292
+  (0.0ms) SAVEPOINT active_record_1
293
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.596775"], ["updated_at", "2017-07-10 09:18:23.596775"], ["role", "guest"]]
294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
295
+  (0.0ms) SAVEPOINT active_record_1
296
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.597734"], ["role", "admin"], ["id", 4]]
297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
298
+  (0.4ms) rollback transaction
299
+  (0.0ms) begin transaction
300
+  (0.0ms) SAVEPOINT active_record_1
301
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.600566"], ["updated_at", "2017-07-10 09:18:23.600566"], ["role", "guest"]]
302
+  (0.0ms) RELEASE SAVEPOINT active_record_1
303
+  (0.0ms) SAVEPOINT active_record_1
304
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.601599"], ["updated_at", "2017-07-10 09:18:23.601599"], ["role", "staff"]]
305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
306
+  (0.0ms) SAVEPOINT active_record_1
307
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.602558"], ["updated_at", "2017-07-10 09:18:23.602558"], ["role", "admin"]]
308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
309
+  (0.0ms) SAVEPOINT active_record_1
310
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.603495"], ["updated_at", "2017-07-10 09:18:23.603495"], ["role", "admin"]]
311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
312
+  (0.0ms) SAVEPOINT active_record_1
313
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.604410"], ["role", "staff"], ["id", 4]]
314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
315
+  (0.4ms) rollback transaction
316
+  (0.1ms) begin transaction
317
+  (0.1ms) SAVEPOINT active_record_1
318
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.607624"], ["updated_at", "2017-07-10 09:18:23.607624"], ["role", "guest"]]
319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320
+  (0.1ms) SAVEPOINT active_record_1
321
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.610549"], ["updated_at", "2017-07-10 09:18:23.610549"], ["role", "staff"]]
322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
323
+  (0.1ms) SAVEPOINT active_record_1
324
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.612216"], ["updated_at", "2017-07-10 09:18:23.612216"], ["role", "admin"]]
325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
326
+  (0.0ms) SAVEPOINT active_record_1
327
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.613814"], ["updated_at", "2017-07-10 09:18:23.613814"], ["role", "admin"]]
328
+  (0.1ms) RELEASE SAVEPOINT active_record_1
329
+  (0.1ms) SAVEPOINT active_record_1
330
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.615134"], ["role", "staff"], ["id", 4]]
331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
332
+  (0.4ms) rollback transaction
333
+  (0.1ms) begin transaction
334
+  (0.1ms) SAVEPOINT active_record_1
335
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.620001"], ["updated_at", "2017-07-10 09:18:23.620001"], ["role", "guest"]]
336
+  (0.1ms) RELEASE SAVEPOINT active_record_1
337
+  (0.1ms) SAVEPOINT active_record_1
338
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.622319"], ["updated_at", "2017-07-10 09:18:23.622319"], ["role", "staff"]]
339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
340
+  (0.1ms) SAVEPOINT active_record_1
341
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.624803"], ["updated_at", "2017-07-10 09:18:23.624803"], ["role", "admin"]]
342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
343
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
344
+  (0.3ms) rollback transaction
345
+  (0.0ms) begin transaction
346
+  (0.0ms) SAVEPOINT active_record_1
347
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.631951"], ["updated_at", "2017-07-10 09:18:23.631951"], ["role", "guest"]]
348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349
+  (0.0ms) SAVEPOINT active_record_1
350
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.633136"], ["updated_at", "2017-07-10 09:18:23.633136"], ["role", "staff"]]
351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
352
+  (0.0ms) SAVEPOINT active_record_1
353
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.634109"], ["updated_at", "2017-07-10 09:18:23.634109"], ["role", "admin"]]
354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
355
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
356
+  (0.3ms) rollback transaction
357
+  (0.0ms) begin transaction
358
+  (0.0ms) SAVEPOINT active_record_1
359
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.636747"], ["updated_at", "2017-07-10 09:18:23.636747"], ["role", "guest"]]
360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
361
+  (0.0ms) SAVEPOINT active_record_1
362
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.638010"], ["updated_at", "2017-07-10 09:18:23.638010"], ["role", "staff"]]
363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
364
+  (0.0ms) SAVEPOINT active_record_1
365
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.638920"], ["updated_at", "2017-07-10 09:18:23.638920"], ["role", "admin"]]
366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
367
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
368
+  (0.3ms) rollback transaction
369
+  (0.0ms) begin transaction
370
+  (0.0ms) SAVEPOINT active_record_1
371
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.641835"], ["updated_at", "2017-07-10 09:18:23.641835"], ["role", "guest"]]
372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
373
+  (0.0ms) SAVEPOINT active_record_1
374
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.643092"], ["updated_at", "2017-07-10 09:18:23.643092"], ["role", "staff"]]
375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
376
+  (0.1ms) SAVEPOINT active_record_1
377
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.646230"], ["updated_at", "2017-07-10 09:18:23.646230"], ["role", "admin"]]
378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
379
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
380
+  (0.3ms) rollback transaction
381
+  (0.0ms) begin transaction
382
+  (0.0ms) SAVEPOINT active_record_1
383
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.649147"], ["updated_at", "2017-07-10 09:18:23.649147"], ["role", "guest"]]
384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
385
+  (0.0ms) SAVEPOINT active_record_1
386
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.650243"], ["updated_at", "2017-07-10 09:18:23.650243"], ["role", "staff"]]
387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
388
+  (0.0ms) SAVEPOINT active_record_1
389
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.651099"], ["updated_at", "2017-07-10 09:18:23.651099"], ["role", "admin"]]
390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
391
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
392
+  (0.2ms) rollback transaction
393
+  (0.0ms) begin transaction
394
+  (0.0ms) SAVEPOINT active_record_1
395
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.653627"], ["updated_at", "2017-07-10 09:18:23.653627"], ["role", "guest"]]
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.0ms) SAVEPOINT active_record_1
398
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.654676"], ["updated_at", "2017-07-10 09:18:23.654676"], ["role", "staff"]]
399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
400
+  (0.0ms) SAVEPOINT active_record_1
401
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.655714"], ["updated_at", "2017-07-10 09:18:23.655714"], ["role", "admin"]]
402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
404
+  (0.6ms) rollback transaction
405
+  (0.1ms) begin transaction
406
+  (0.1ms) SAVEPOINT active_record_1
407
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.660875"], ["updated_at", "2017-07-10 09:18:23.660875"], ["role", "guest"]]
408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
409
+  (0.1ms) SAVEPOINT active_record_1
410
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.663226"], ["updated_at", "2017-07-10 09:18:23.663226"], ["role", "staff"]]
411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
412
+  (0.1ms) SAVEPOINT active_record_1
413
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.664675"], ["updated_at", "2017-07-10 09:18:23.664675"], ["role", "admin"]]
414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
415
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
416
+  (0.4ms) rollback transaction
417
+  (0.1ms) begin transaction
418
+  (0.1ms) SAVEPOINT active_record_1
419
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.669347"], ["updated_at", "2017-07-10 09:18:23.669347"], ["role", "guest"]]
420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
421
+  (0.1ms) SAVEPOINT active_record_1
422
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.671586"], ["updated_at", "2017-07-10 09:18:23.671586"], ["role", "staff"]]
423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
424
+  (0.0ms) SAVEPOINT active_record_1
425
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.672720"], ["updated_at", "2017-07-10 09:18:23.672720"], ["role", "admin"]]
426
+  (0.1ms) RELEASE SAVEPOINT active_record_1
427
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
428
+  (0.3ms) rollback transaction
429
+  (0.0ms) begin transaction
430
+  (0.1ms) SAVEPOINT active_record_1
431
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.676836"], ["updated_at", "2017-07-10 09:18:23.676836"], ["role", "guest"]]
432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
433
+  (0.0ms) SAVEPOINT active_record_1
434
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.678132"], ["updated_at", "2017-07-10 09:18:23.678132"], ["role", "staff"]]
435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
436
+  (0.0ms) SAVEPOINT active_record_1
437
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.679265"], ["updated_at", "2017-07-10 09:18:23.679265"], ["role", "admin"]]
438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
440
+  (0.3ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+  (0.0ms) SAVEPOINT active_record_1
443
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.682603"], ["updated_at", "2017-07-10 09:18:23.682603"], ["role", "guest"]]
444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
445
+  (0.0ms) SAVEPOINT active_record_1
446
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.683966"], ["updated_at", "2017-07-10 09:18:23.683966"], ["role", "staff"]]
447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
448
+  (0.0ms) SAVEPOINT active_record_1
449
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.684953"], ["updated_at", "2017-07-10 09:18:23.684953"], ["role", "admin"]]
450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
451
+  (0.0ms) SAVEPOINT active_record_1
452
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.685902"], ["updated_at", "2017-07-10 09:18:23.685902"], ["role", "admin"]]
453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
454
+  (0.0ms) SAVEPOINT active_record_1
455
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.686815"], ["role", "guest"], ["id", 4]]
456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
457
+  (0.3ms) rollback transaction
458
+  (0.0ms) begin transaction
459
+  (0.0ms) SAVEPOINT active_record_1
460
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.689078"], ["updated_at", "2017-07-10 09:18:23.689078"], ["role", "guest"]]
461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
462
+  (0.0ms) SAVEPOINT active_record_1
463
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.690291"], ["updated_at", "2017-07-10 09:18:23.690291"], ["role", "staff"]]
464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
465
+  (0.0ms) SAVEPOINT active_record_1
466
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.691205"], ["updated_at", "2017-07-10 09:18:23.691205"], ["role", "admin"]]
467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
468
+  (0.0ms) SAVEPOINT active_record_1
469
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.692473"], ["updated_at", "2017-07-10 09:18:23.692473"], ["role", "admin"]]
470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
471
+  (0.0ms) SAVEPOINT active_record_1
472
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:18:23.695750"], ["role", "guest"], ["id", 4]]
473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
474
+  (0.3ms) rollback transaction
475
+  (0.0ms) begin transaction
476
+  (0.0ms) SAVEPOINT active_record_1
477
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.698821"], ["updated_at", "2017-07-10 09:18:23.698821"], ["role", "guest"]]
478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
479
+  (0.1ms) SAVEPOINT active_record_1
480
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.699886"], ["updated_at", "2017-07-10 09:18:23.699886"], ["role", "staff"]]
481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
482
+  (0.0ms) SAVEPOINT active_record_1
483
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.700727"], ["updated_at", "2017-07-10 09:18:23.700727"], ["role", "admin"]]
484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
485
+  (0.3ms) rollback transaction
486
+  (0.0ms) begin transaction
487
+  (0.0ms) SAVEPOINT active_record_1
488
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.703028"], ["updated_at", "2017-07-10 09:18:23.703028"], ["role", "guest"]]
489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
490
+  (0.0ms) SAVEPOINT active_record_1
491
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.704017"], ["updated_at", "2017-07-10 09:18:23.704017"], ["role", "staff"]]
492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
493
+  (0.0ms) SAVEPOINT active_record_1
494
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:18:23.704909"], ["updated_at", "2017-07-10 09:18:23.704909"], ["role", "admin"]]
495
+  (0.1ms) RELEASE SAVEPOINT active_record_1
496
+  (0.5ms) rollback transaction
497
+  (0.0ms) begin transaction
498
+  (0.0ms) rollback transaction
499
+  (0.0ms) begin transaction
500
+  (0.0ms) SAVEPOINT active_record_1
501
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.544809"], ["updated_at", "2017-07-10 09:19:25.544809"], ["role", "guest"]]
502
+  (0.0ms) RELEASE SAVEPOINT active_record_1
503
+  (0.0ms) SAVEPOINT active_record_1
504
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.551508"], ["updated_at", "2017-07-10 09:19:25.551508"], ["role", "staff"]]
505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
506
+  (0.0ms) SAVEPOINT active_record_1
507
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.552443"], ["updated_at", "2017-07-10 09:19:25.552443"], ["role", "admin"]]
508
+  (0.0ms) RELEASE SAVEPOINT active_record_1
509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
510
+  (2.1ms) rollback transaction
511
+  (0.1ms) begin transaction
512
+  (0.1ms) SAVEPOINT active_record_1
513
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.559188"], ["updated_at", "2017-07-10 09:19:25.559188"], ["role", "guest"]]
514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
515
+  (0.0ms) SAVEPOINT active_record_1
516
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.560649"], ["updated_at", "2017-07-10 09:19:25.560649"], ["role", "staff"]]
517
+  (0.0ms) RELEASE SAVEPOINT active_record_1
518
+  (0.0ms) SAVEPOINT active_record_1
519
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.561614"], ["updated_at", "2017-07-10 09:19:25.561614"], ["role", "admin"]]
520
+  (0.0ms) RELEASE SAVEPOINT active_record_1
521
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
522
+  (0.4ms) rollback transaction
523
+  (0.1ms) begin transaction
524
+  (0.0ms) SAVEPOINT active_record_1
525
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.564460"], ["updated_at", "2017-07-10 09:19:25.564460"], ["role", "guest"]]
526
+  (0.0ms) RELEASE SAVEPOINT active_record_1
527
+  (0.0ms) SAVEPOINT active_record_1
528
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.565480"], ["updated_at", "2017-07-10 09:19:25.565480"], ["role", "staff"]]
529
+  (0.0ms) RELEASE SAVEPOINT active_record_1
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.566297"], ["updated_at", "2017-07-10 09:19:25.566297"], ["role", "admin"]]
532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
533
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "admin"]]
534
+  (0.3ms) rollback transaction
535
+  (0.0ms) begin transaction
536
+  (0.0ms) SAVEPOINT active_record_1
537
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.568735"], ["updated_at", "2017-07-10 09:19:25.568735"], ["role", "guest"]]
538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
539
+  (0.0ms) SAVEPOINT active_record_1
540
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.569714"], ["updated_at", "2017-07-10 09:19:25.569714"], ["role", "staff"]]
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+  (0.0ms) SAVEPOINT active_record_1
543
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.570525"], ["updated_at", "2017-07-10 09:19:25.570525"], ["role", "admin"]]
544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
545
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
546
+  (0.3ms) rollback transaction
547
+  (0.0ms) begin transaction
548
+  (0.0ms) SAVEPOINT active_record_1
549
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.572806"], ["updated_at", "2017-07-10 09:19:25.572806"], ["role", "guest"]]
550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
551
+  (0.0ms) SAVEPOINT active_record_1
552
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.574117"], ["updated_at", "2017-07-10 09:19:25.574117"], ["role", "staff"]]
553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
554
+  (0.0ms) SAVEPOINT active_record_1
555
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.575073"], ["updated_at", "2017-07-10 09:19:25.575073"], ["role", "admin"]]
556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
557
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
558
+  (0.3ms) rollback transaction
559
+  (0.1ms) begin transaction
560
+  (0.0ms) SAVEPOINT active_record_1
561
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.578161"], ["updated_at", "2017-07-10 09:19:25.578161"], ["role", "guest"]]
562
+  (0.1ms) RELEASE SAVEPOINT active_record_1
563
+  (0.0ms) SAVEPOINT active_record_1
564
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.580110"], ["updated_at", "2017-07-10 09:19:25.580110"], ["role", "staff"]]
565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
566
+  (0.0ms) SAVEPOINT active_record_1
567
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.581249"], ["updated_at", "2017-07-10 09:19:25.581249"], ["role", "admin"]]
568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
569
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "guest"]]
570
+  (0.7ms) rollback transaction
571
+  (0.1ms) begin transaction
572
+  (0.0ms) SAVEPOINT active_record_1
573
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.584691"], ["updated_at", "2017-07-10 09:19:25.584691"], ["role", "guest"]]
574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+  (0.0ms) SAVEPOINT active_record_1
576
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.585892"], ["updated_at", "2017-07-10 09:19:25.585892"], ["role", "staff"]]
577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
578
+  (0.1ms) SAVEPOINT active_record_1
579
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.586789"], ["updated_at", "2017-07-10 09:19:25.586789"], ["role", "admin"]]
580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
581
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
582
+  (0.3ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+  (0.0ms) SAVEPOINT active_record_1
585
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.589543"], ["updated_at", "2017-07-10 09:19:25.589543"], ["role", "guest"]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+  (0.0ms) SAVEPOINT active_record_1
588
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.590930"], ["updated_at", "2017-07-10 09:19:25.590930"], ["role", "staff"]]
589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
590
+  (0.0ms) SAVEPOINT active_record_1
591
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.591911"], ["updated_at", "2017-07-10 09:19:25.591911"], ["role", "admin"]]
592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
593
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
594
+  (0.2ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+  (0.0ms) SAVEPOINT active_record_1
597
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.594307"], ["updated_at", "2017-07-10 09:19:25.594307"], ["role", "guest"]]
598
+  (0.0ms) RELEASE SAVEPOINT active_record_1
599
+  (0.0ms) SAVEPOINT active_record_1
600
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.595470"], ["updated_at", "2017-07-10 09:19:25.595470"], ["role", "staff"]]
601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
602
+  (0.0ms) SAVEPOINT active_record_1
603
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.596389"], ["updated_at", "2017-07-10 09:19:25.596389"], ["role", "admin"]]
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."role" = ? [["role", "staff"]]
606
+  (0.3ms) rollback transaction
607
+  (0.0ms) begin transaction
608
+  (0.1ms) SAVEPOINT active_record_1
609
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.599053"], ["updated_at", "2017-07-10 09:19:25.599053"], ["role", "guest"]]
610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
611
+  (0.0ms) SAVEPOINT active_record_1
612
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.600124"], ["updated_at", "2017-07-10 09:19:25.600124"], ["role", "staff"]]
613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.600961"], ["updated_at", "2017-07-10 09:19:25.600961"], ["role", "admin"]]
616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
617
+  (0.3ms) rollback transaction
618
+  (0.0ms) begin transaction
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.607390"], ["updated_at", "2017-07-10 09:19:25.607390"], ["role", "guest"]]
621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
622
+  (0.1ms) SAVEPOINT active_record_1
623
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.608688"], ["updated_at", "2017-07-10 09:19:25.608688"], ["role", "staff"]]
624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
625
+  (0.0ms) SAVEPOINT active_record_1
626
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.609627"], ["updated_at", "2017-07-10 09:19:25.609627"], ["role", "admin"]]
627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
628
+  (0.0ms) SAVEPOINT active_record_1
629
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.610465"], ["updated_at", "2017-07-10 09:19:25.610465"], ["role", "guest"]]
630
+  (0.0ms) RELEASE SAVEPOINT active_record_1
631
+  (0.0ms) SAVEPOINT active_record_1
632
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.611437"], ["role", "admin"], ["id", 4]]
633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
634
+  (0.4ms) rollback transaction
635
+  (0.1ms) begin transaction
636
+  (0.1ms) SAVEPOINT active_record_1
637
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.614926"], ["updated_at", "2017-07-10 09:19:25.614926"], ["role", "guest"]]
638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
639
+  (0.0ms) SAVEPOINT active_record_1
640
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.616170"], ["updated_at", "2017-07-10 09:19:25.616170"], ["role", "staff"]]
641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
642
+  (0.0ms) SAVEPOINT active_record_1
643
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.617051"], ["updated_at", "2017-07-10 09:19:25.617051"], ["role", "admin"]]
644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
645
+  (0.1ms) SAVEPOINT active_record_1
646
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.626067"], ["updated_at", "2017-07-10 09:19:25.626067"], ["role", "guest"]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+  (0.0ms) SAVEPOINT active_record_1
649
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.627171"], ["role", "admin"], ["id", 4]]
650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
651
+  (0.6ms) rollback transaction
652
+  (0.1ms) begin transaction
653
+  (0.1ms) SAVEPOINT active_record_1
654
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.652476"], ["updated_at", "2017-07-10 09:19:25.652476"], ["role", "guest"]]
655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
656
+  (0.0ms) SAVEPOINT active_record_1
657
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.653950"], ["updated_at", "2017-07-10 09:19:25.653950"], ["role", "staff"]]
658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
659
+  (0.0ms) SAVEPOINT active_record_1
660
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.654970"], ["updated_at", "2017-07-10 09:19:25.654970"], ["role", "admin"]]
661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
662
+  (0.0ms) SAVEPOINT active_record_1
663
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.656038"], ["updated_at", "2017-07-10 09:19:25.656038"], ["role", "admin"]]
664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
665
+  (0.0ms) SAVEPOINT active_record_1
666
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.656867"], ["role", "staff"], ["id", 4]]
667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
668
+  (0.4ms) rollback transaction
669
+  (0.1ms) begin transaction
670
+  (0.1ms) SAVEPOINT active_record_1
671
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.660549"], ["updated_at", "2017-07-10 09:19:25.660549"], ["role", "guest"]]
672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
673
+  (0.0ms) SAVEPOINT active_record_1
674
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.662462"], ["updated_at", "2017-07-10 09:19:25.662462"], ["role", "staff"]]
675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
676
+  (0.0ms) SAVEPOINT active_record_1
677
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.663689"], ["updated_at", "2017-07-10 09:19:25.663689"], ["role", "admin"]]
678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
679
+  (0.0ms) SAVEPOINT active_record_1
680
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.664897"], ["updated_at", "2017-07-10 09:19:25.664897"], ["role", "admin"]]
681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
682
+  (0.0ms) SAVEPOINT active_record_1
683
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.666031"], ["role", "staff"], ["id", 4]]
684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
685
+  (0.4ms) rollback transaction
686
+  (0.0ms) begin transaction
687
+  (0.0ms) SAVEPOINT active_record_1
688
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.668885"], ["updated_at", "2017-07-10 09:19:25.668885"], ["role", "guest"]]
689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
690
+  (0.0ms) SAVEPOINT active_record_1
691
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.670271"], ["updated_at", "2017-07-10 09:19:25.670271"], ["role", "staff"]]
692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
693
+  (0.0ms) SAVEPOINT active_record_1
694
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.671349"], ["updated_at", "2017-07-10 09:19:25.671349"], ["role", "admin"]]
695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
696
+  (0.3ms) rollback transaction
697
+  (0.1ms) begin transaction
698
+  (0.1ms) SAVEPOINT active_record_1
699
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.674363"], ["updated_at", "2017-07-10 09:19:25.674363"], ["role", "guest"]]
700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
701
+  (0.0ms) SAVEPOINT active_record_1
702
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.675645"], ["updated_at", "2017-07-10 09:19:25.675645"], ["role", "staff"]]
703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
704
+  (0.1ms) SAVEPOINT active_record_1
705
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.676709"], ["updated_at", "2017-07-10 09:19:25.676709"], ["role", "admin"]]
706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
707
+  (0.0ms) SAVEPOINT active_record_1
708
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.677702"], ["updated_at", "2017-07-10 09:19:25.677702"], ["role", "admin"]]
709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
710
+  (0.1ms) SAVEPOINT active_record_1
711
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.679167"], ["role", "guest"], ["id", 4]]
712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
713
+  (0.3ms) rollback transaction
714
+  (0.0ms) begin transaction
715
+  (0.1ms) SAVEPOINT active_record_1
716
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.681945"], ["updated_at", "2017-07-10 09:19:25.681945"], ["role", "guest"]]
717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
718
+  (0.0ms) SAVEPOINT active_record_1
719
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.683091"], ["updated_at", "2017-07-10 09:19:25.683091"], ["role", "staff"]]
720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
721
+  (0.0ms) SAVEPOINT active_record_1
722
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.684165"], ["updated_at", "2017-07-10 09:19:25.684165"], ["role", "admin"]]
723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
724
+  (0.0ms) SAVEPOINT active_record_1
725
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "role") VALUES (?, ?, ?) [["created_at", "2017-07-10 09:19:25.685165"], ["updated_at", "2017-07-10 09:19:25.685165"], ["role", "admin"]]
726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
727
+  (0.0ms) SAVEPOINT active_record_1
728
+ SQL (0.1ms) UPDATE "users" SET "updated_at" = ?, "role" = ? WHERE "users"."id" = ? [["updated_at", "2017-07-10 09:19:25.685986"], ["role", "guest"], ["id", 4]]
729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
730
+  (0.3ms) rollback transaction