journea 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +8 -0
- data/README.md +131 -0
- data/Rakefile +26 -0
- data/app/controllers/journea/engine_controller.rb +19 -0
- data/app/controllers/journea/journeys_controller.rb +10 -0
- data/app/controllers/journea/steps_controller.rb +52 -0
- data/app/helpers/journea/form_helper.rb +25 -0
- data/app/models/journea/journey.rb +54 -0
- data/app/models/journea/journey_transition.rb +17 -0
- data/app/models/journea/keyvalue.rb +5 -0
- data/app/views/application/_back_link.html.haml +5 -0
- data/config/initializers/simple_form.rb +179 -0
- data/config/locales/simple_form.en.yml +31 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20161201153630_create_journey_transitions.rb +22 -0
- data/db/migrate/20161201162349_create_journeys_table.rb +10 -0
- data/db/migrate/20161202162350_create_keyvalues_table.rb +11 -0
- data/lib/generators/journea/install_generator.rb +76 -0
- data/lib/generators/journea/templates/assets/application.js +23 -0
- data/lib/generators/journea/templates/assets/application.scss +49 -0
- data/lib/generators/journea/templates/config/initializers/journea.rb +23 -0
- data/lib/generators/journea/templates/config/initializers/journea2.rb +24 -0
- data/lib/generators/journea/templates/controllers/pages_controller.rb.example +2 -0
- data/lib/generators/journea/templates/views/application.html.haml +20 -0
- data/lib/generators/journea/templates/views/pages/start.html.haml.example +12 -0
- data/lib/generators/journea/templates/views/shared/error_messages.html.haml.example +7 -0
- data/lib/generators/journea/templates/views/steps/step.html.haml.example +8 -0
- data/lib/journea.rb +25 -0
- data/lib/journea/data.rb +20 -0
- data/lib/journea/engine.rb +27 -0
- data/lib/journea/state_machine.rb +40 -0
- data/lib/journea/step.rb +32 -0
- data/lib/journea/version.rb +3 -0
- data/lib/simple_form_object.rb +146 -0
- data/lib/tasks/journea_tasks.rake +4 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +5 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/pages_controller.rb +4 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/steps/address_step.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/app/views/pages/start.html.erb +1 -0
- data/spec/dummy/app/views/steps/address.html.erb +5 -0
- data/spec/dummy/app/views/steps/name.html.erb +5 -0
- data/spec/dummy/app/views/steps/phone_number.html.erb +0 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +34 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +14 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +9 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +86 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/journea.rb +8 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/puma.rb +47 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +42 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +57 -0
- data/spec/dummy/log/test.log +448 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EA/EAR2KaBsPQau6HwaTGrxV7EGMwAWyS-4C8pGVDU1Z-Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JZ/JZuPFgM2mLQgAHB-r7Pt_TdGW3DRWPrplT7xPjnCJSE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LT/LTt1oE1gi9m65YRwUp78DuufkCOfi3sa3Qa05_ykADk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lj/LjRKOqtrClPtb97phuIWI7HHA8-p5J5nKHVE_zEycxo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QM/QMxUWUtpFaqwG3RI9t3m38QtFAOvHpiY3LphKJiVRTc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/St/StFuOi5bd69ceiqz2D6EOCmRzHgwY0IxERsMfiCneGM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vj/VjCUmI9pp5eD8BlYATbwJ4ZOk0438rwvtDrsttyWbfQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wl/WlLcUIADXcUxaOt8Gq59uQbO0mquikyz7jxiJjXjhaI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YH/YHo__TrFq5y8rpx49T8d8ecyvMLbHFbnhz7IBV7pM98.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zu/ZuLXgeX6x_Dx8sCUbzuTtWu42HzQXWe7eooTgsonTnc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aG/aG1tp1pv4kBiSKx9ixZH5xiRXH-rGa0Hi6sdl4SHw6g.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aw/awTDtuorxLsRLIGEYCefR-PTN7yptoaGRLEk13vHVLA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cW/cWHxYOqms7abJ-dzXyrn2G7nadJicU5kkC8SduS06yc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cb/cbX7RFavWZoWojlrsXhsy4FN46UOfMwZYStkLHT5HJw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eY/eYTHvo0Wl2TD2vipDcJ966HHXGrA4ZlJaiA2DnftKhM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f4/f4CpFuYmsdh1EvlFVjsl1WmM2QA9_z9AuOebEOw4mts.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gH/gHSjqTBRSW22rP9mSj8XW6huEXKpcIOehvF-2fvuShQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m0/m0smDeM83DcmOVpX9zos6AIX40E9Tf2j26tyvKFgMwc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mW/mWrwQwWUQpAlMCLQ8dGv5VkAXd-TxvAtB5WPg9l09-A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oA/oAtzk5ZeF7lWCwNufspgWqtv_dQN_n5GumFNB4ScfBE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rA/rACdJeX3jZNkhx4awGhdZeMdOfmARubkoVKVAZdwYog.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sC/sCEBZXwTjRpEzThf7YHzHNfkAupMVOx_Ko7WNMAFHS0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yT/yTOf3QInGfDlRZlwZNDBLlbma19FQRHM035AKRxcRyw.cache +0 -0
- data/spec/features/journey_spec.rb +9 -0
- data/spec/lib/simple_form_object/attribute_spec.rb +74 -0
- data/spec/lib/simple_form_object/delegation_spec.rb +50 -0
- data/spec/lib/simple_form_object/model_spec.rb +90 -0
- data/spec/lib/steps_spec.rb +0 -0
- data/spec/requests/journeys_spec.rb +6 -0
- data/spec/spec_helper.rb +44 -0
- metadata +449 -0
@@ -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 `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
|
+
development:
|
14
|
+
secret_key_base: 2f258063abee6bc541fad7431024d0e4daba8267f97ebbea231b979dfd2ba4238735568cc62862f69596318a30b7db12ab9a80ac6e7db47fd31c664fb5409b54
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: d3f5db92de5a1c7fc2d5bca170f206a19ea70badeb746c6894561dc23a1aa8627686380e6da1eb302bee214d70cee98544222e4d985039cb1b62a6a62ffb3df0
|
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"] %>
|
File without changes
|
@@ -0,0 +1,42 @@
|
|
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: 20161202162350) do
|
14
|
+
|
15
|
+
create_table "journea_journey_transitions", force: :cascade do |t|
|
16
|
+
t.string "to_state", null: false
|
17
|
+
t.text "metadata", default: "{}"
|
18
|
+
t.integer "sort_key", null: false
|
19
|
+
t.integer "journey_id", null: false
|
20
|
+
t.boolean "most_recent", null: false
|
21
|
+
t.datetime "created_at", null: false
|
22
|
+
t.datetime "updated_at", null: false
|
23
|
+
t.index ["journey_id", "most_recent"], name: "index_journey_transitions_parent_most_recent", unique: true, where: "most_recent"
|
24
|
+
t.index ["journey_id", "sort_key"], name: "index_journey_transitions_parent_sort", unique: true
|
25
|
+
end
|
26
|
+
|
27
|
+
create_table "journea_journeys", force: :cascade do |t|
|
28
|
+
t.string "key"
|
29
|
+
t.string "value"
|
30
|
+
t.datetime "created_at", null: false
|
31
|
+
t.datetime "updated_at", null: false
|
32
|
+
end
|
33
|
+
|
34
|
+
create_table "journea_keyvalues", force: :cascade do |t|
|
35
|
+
t.integer "journey_id"
|
36
|
+
t.string "key"
|
37
|
+
t.string "value"
|
38
|
+
t.datetime "created_at", null: false
|
39
|
+
t.datetime "updated_at", null: false
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
Binary file
|
@@ -0,0 +1,57 @@
|
|
1
|
+
DEPRECATION WARNING: Passing #original_exception is deprecated and has no effect. Exceptions will automatically capture the original exception. (called from load at /Users/acruikshanks/.rbenv/versions/2.3.1/bin/rake:23)
|
2
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "journea_journey_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar NOT NULL, "metadata" text DEFAULT '{}', "sort_key" integer NOT NULL, "journey_id" integer NOT NULL, "most_recent" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
3
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
4
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_journey_transitions_parent_most_recent" ON "journea_journey_transitions" ("journey_id", "most_recent") WHERE most_recent[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
6
|
+
FROM sqlite_master
|
7
|
+
WHERE name='index_journey_transitions_parent_most_recent' AND type='index'
|
8
|
+
UNION ALL
|
9
|
+
SELECT sql
|
10
|
+
FROM sqlite_temp_master
|
11
|
+
WHERE name='index_journey_transitions_parent_most_recent' AND type='index'
|
12
|
+
[0m
|
13
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_journey_transitions_parent_sort" ON "journea_journey_transitions" ("journey_id", "sort_key")[0m
|
14
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "journea_journeys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
15
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "journea_keyvalues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "journey_id" integer, "key" varchar, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
16
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
17
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
18
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161202162350')[0m
|
19
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20161201153630'), ('20161201162349');
|
20
|
+
|
21
|
+
[0m
|
22
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
23
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
24
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
25
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-01-22 20:59:13 UTC], ["updated_at", 2017-01-22 20:59:13 UTC]]
|
26
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
27
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
28
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
29
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
30
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "journea_journey_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar NOT NULL, "metadata" text DEFAULT '{}', "sort_key" integer NOT NULL, "journey_id" integer NOT NULL, "most_recent" boolean NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
31
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
32
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_journey_transitions_parent_most_recent" ON "journea_journey_transitions" ("journey_id", "most_recent") WHERE most_recent[0m
|
33
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
34
|
+
FROM sqlite_master
|
35
|
+
WHERE name='index_journey_transitions_parent_most_recent' AND type='index'
|
36
|
+
UNION ALL
|
37
|
+
SELECT sql
|
38
|
+
FROM sqlite_temp_master
|
39
|
+
WHERE name='index_journey_transitions_parent_most_recent' AND type='index'
|
40
|
+
[0m
|
41
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_journey_transitions_parent_sort" ON "journea_journey_transitions" ("journey_id", "sort_key")[0m
|
42
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "journea_journeys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
43
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "journea_keyvalues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "journey_id" integer, "key" varchar, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
44
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
45
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
|
46
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161202162350')[0m
|
47
|
+
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES ('20161201153630'), ('20161201162349');
|
48
|
+
|
49
|
+
[0m
|
50
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
51
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
52
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
53
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-01-22 22:13:39 UTC], ["updated_at", 2017-01-22 22:13:39 UTC]]
|
54
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
55
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
56
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
57
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
@@ -0,0 +1,448 @@
|
|
1
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
2
|
+
Started POST "/journey" for 127.0.0.1 at 2017-01-22 20:59:13 +0000
|
3
|
+
Processing by Journea::JourneysController#create as HTML
|
4
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
5
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 20:59:13 UTC], ["updated_at", 2017-01-22 20:59:13 UTC]]
|
6
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
7
|
+
[1m[36mJournea::JourneyTransition Load (0.2ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
8
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
9
|
+
Completed 302 Found in 67ms (ActiveRecord: 2.8ms)
|
10
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
11
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
13
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
14
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
15
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
16
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
17
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
19
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
20
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
22
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
23
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
25
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
26
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
27
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
28
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
29
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
30
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
31
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
32
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
33
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
35
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
37
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
38
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
39
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
40
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
41
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
42
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
43
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
45
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
46
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
47
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
48
|
+
Started GET "/" for 127.0.0.1 at 2017-01-22 20:59:13 +0000
|
49
|
+
Processing by PagesController#start as HTML
|
50
|
+
Rendering pages/start.html.erb within layouts/application
|
51
|
+
Rendered pages/start.html.erb within layouts/application (3.7ms)
|
52
|
+
Completed 200 OK in 163ms (Views: 161.0ms | ActiveRecord: 0.0ms)
|
53
|
+
Started POST "/journey/" for 127.0.0.1 at 2017-01-22 20:59:14 +0000
|
54
|
+
Processing by Journea::JourneysController#create as HTML
|
55
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
56
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 20:59:14 UTC], ["updated_at", 2017-01-22 20:59:14 UTC]]
|
57
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
58
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
59
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
60
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
61
|
+
Started GET "/journey/1/steps/name/edit" for 127.0.0.1 at 2017-01-22 20:59:14 +0000
|
62
|
+
Processing by Journea::StepsController#edit as HTML
|
63
|
+
Parameters: {"journey_id"=>"1", "id"=>"name"}
|
64
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
65
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
66
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
67
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
68
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
69
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
70
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE 1=0 AND "journea_keyvalues"."journey_id" = 1[0m
|
71
|
+
Rendering steps/name.html.erb within layouts/application
|
72
|
+
Rendered steps/name.html.erb within layouts/application (64.7ms)
|
73
|
+
Completed 200 OK in 85ms (Views: 72.5ms | ActiveRecord: 0.5ms)
|
74
|
+
Started PATCH "/journey/1/steps/name" for 127.0.0.1 at 2017-01-22 20:59:14 +0000
|
75
|
+
Processing by Journea::StepsController#update as HTML
|
76
|
+
Parameters: {"utf8"=>"✓", "commit"=>"Continue", "journey_id"=>"1", "id"=>"name"}
|
77
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
78
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
79
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
80
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
81
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
82
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
83
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
84
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
85
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
86
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
87
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
88
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
89
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
90
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
91
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
92
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
93
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
94
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
95
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
96
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
97
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "journea_journey_transitions" SET "most_recent" = 'f' WHERE "journea_journey_transitions"."journey_id" = ?[0m [["journey_id", 1]]
|
98
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "journea_journey_transitions" ("to_state", "metadata", "sort_key", "journey_id", "most_recent", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["to_state", "address"], ["metadata", "{\"previous_state\":\"name\"}"], ["sort_key", 10], ["journey_id", 1], ["most_recent", true], ["created_at", 2017-01-22 20:59:14 UTC], ["updated_at", 2017-01-22 20:59:14 UTC]]
|
99
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
100
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
101
|
+
Redirected to http://www.example.com/journey/1/steps/address/edit
|
102
|
+
Completed 302 Found in 28ms (ActiveRecord: 1.1ms)
|
103
|
+
Started GET "/journey/1/steps/address/edit" for 127.0.0.1 at 2017-01-22 20:59:14 +0000
|
104
|
+
Processing by Journea::StepsController#edit as HTML
|
105
|
+
Parameters: {"journey_id"=>"1", "id"=>"address"}
|
106
|
+
[1m[36mJournea::Journey Load (0.0ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
107
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
108
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE "journea_keyvalues"."key" IN ('address_line_1', 'address_line_2') AND "journea_keyvalues"."journey_id" = 1[0m
|
109
|
+
Rendering steps/address.html.erb within layouts/application
|
110
|
+
Rendered steps/address.html.erb within layouts/application (1.4ms)
|
111
|
+
Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.2ms)
|
112
|
+
[1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
|
113
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
114
|
+
Started POST "/journey" for 127.0.0.1 at 2017-01-22 22:13:42 +0000
|
115
|
+
Processing by Journea::JourneysController#create as HTML
|
116
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
117
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:13:42 UTC], ["updated_at", 2017-01-22 22:13:42 UTC]]
|
118
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
119
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
120
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
121
|
+
Completed 302 Found in 60ms (ActiveRecord: 2.8ms)
|
122
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
123
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
124
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
125
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
126
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
127
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
128
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
129
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
130
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
131
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
132
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
133
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
134
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
135
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
136
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
137
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
138
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
139
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
140
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
141
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
142
|
+
Started GET "/" for 127.0.0.1 at 2017-01-22 22:13:42 +0000
|
143
|
+
Processing by PagesController#start as HTML
|
144
|
+
Rendering pages/start.html.erb within layouts/application
|
145
|
+
Rendered pages/start.html.erb within layouts/application (3.0ms)
|
146
|
+
Completed 200 OK in 142ms (Views: 140.2ms | ActiveRecord: 0.0ms)
|
147
|
+
Started POST "/journey/" for 127.0.0.1 at 2017-01-22 22:13:43 +0000
|
148
|
+
Processing by Journea::JourneysController#create as HTML
|
149
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
150
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:13:43 UTC], ["updated_at", 2017-01-22 22:13:43 UTC]]
|
151
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
152
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
153
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
154
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
155
|
+
Started GET "/journey/1/steps/name/edit" for 127.0.0.1 at 2017-01-22 22:13:43 +0000
|
156
|
+
Processing by Journea::StepsController#edit as HTML
|
157
|
+
Parameters: {"journey_id"=>"1", "id"=>"name"}
|
158
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
159
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
160
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
161
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
162
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
163
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
164
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE 1=0 AND "journea_keyvalues"."journey_id" = 1[0m
|
165
|
+
Rendering steps/name.html.erb within layouts/application
|
166
|
+
Rendered steps/name.html.erb within layouts/application (67.5ms)
|
167
|
+
Completed 200 OK in 87ms (Views: 75.6ms | ActiveRecord: 0.5ms)
|
168
|
+
Started PATCH "/journey/1/steps/name" for 127.0.0.1 at 2017-01-22 22:13:43 +0000
|
169
|
+
Processing by Journea::StepsController#update as HTML
|
170
|
+
Parameters: {"utf8"=>"✓", "commit"=>"Continue", "journey_id"=>"1", "id"=>"name"}
|
171
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
172
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
173
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
174
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
175
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
176
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
177
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
178
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
179
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
180
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
181
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
182
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
183
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
184
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
185
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
186
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
187
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
188
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
189
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
190
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
191
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "journea_journey_transitions" SET "most_recent" = 'f' WHERE "journea_journey_transitions"."journey_id" = ?[0m [["journey_id", 1]]
|
192
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "journea_journey_transitions" ("to_state", "metadata", "sort_key", "journey_id", "most_recent", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["to_state", "address"], ["metadata", "{\"previous_state\":\"name\"}"], ["sort_key", 10], ["journey_id", 1], ["most_recent", true], ["created_at", 2017-01-22 22:13:43 UTC], ["updated_at", 2017-01-22 22:13:43 UTC]]
|
193
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
194
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
195
|
+
Redirected to http://www.example.com/journey/1/steps/address/edit
|
196
|
+
Completed 302 Found in 27ms (ActiveRecord: 1.2ms)
|
197
|
+
Started GET "/journey/1/steps/address/edit" for 127.0.0.1 at 2017-01-22 22:13:43 +0000
|
198
|
+
Processing by Journea::StepsController#edit as HTML
|
199
|
+
Parameters: {"journey_id"=>"1", "id"=>"address"}
|
200
|
+
[1m[36mJournea::Journey Load (0.0ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
201
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
202
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE "journea_keyvalues"."key" IN ('address_line_1', 'address_line_2') AND "journea_keyvalues"."journey_id" = 1[0m
|
203
|
+
Rendering steps/address.html.erb within layouts/application
|
204
|
+
Rendered steps/address.html.erb within layouts/application (1.6ms)
|
205
|
+
Completed 200 OK in 13ms (Views: 9.4ms | ActiveRecord: 0.2ms)
|
206
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
207
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
208
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
211
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
212
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
213
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
214
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
215
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
216
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
217
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
219
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
220
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
221
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
222
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
223
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
224
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
225
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
226
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
227
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
228
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
229
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
230
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
231
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
232
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
233
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
234
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
235
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
236
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
237
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
238
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
239
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
241
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
242
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
243
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
244
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
245
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
247
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
248
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
249
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
250
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
251
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
252
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
253
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
254
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
255
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
256
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
257
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
258
|
+
Started POST "/journey" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
259
|
+
Processing by Journea::JourneysController#create as HTML
|
260
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
261
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:14:00 UTC], ["updated_at", 2017-01-22 22:14:00 UTC]]
|
262
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
263
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
264
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
265
|
+
Completed 302 Found in 60ms (ActiveRecord: 2.9ms)
|
266
|
+
[1m[35m (1.1ms)[0m [1m[31mrollback transaction[0m
|
267
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
268
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
270
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
271
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
272
|
+
Started GET "/" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
273
|
+
Processing by PagesController#start as HTML
|
274
|
+
Rendering pages/start.html.erb within layouts/application
|
275
|
+
Rendered pages/start.html.erb within layouts/application (2.9ms)
|
276
|
+
Completed 200 OK in 134ms (Views: 132.7ms | ActiveRecord: 0.0ms)
|
277
|
+
Started POST "/journey/" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
278
|
+
Processing by Journea::JourneysController#create as HTML
|
279
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
280
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:14:00 UTC], ["updated_at", 2017-01-22 22:14:00 UTC]]
|
281
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
282
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
283
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
284
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
285
|
+
Started GET "/journey/1/steps/name/edit" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
286
|
+
Processing by Journea::StepsController#edit as HTML
|
287
|
+
Parameters: {"journey_id"=>"1", "id"=>"name"}
|
288
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
289
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
290
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
291
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
292
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
293
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
294
|
+
[1m[36mJournea::Keyvalue Load (0.0ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE 1=0 AND "journea_keyvalues"."journey_id" = 1[0m
|
295
|
+
Rendering steps/name.html.erb within layouts/application
|
296
|
+
Rendered steps/name.html.erb within layouts/application (68.4ms)
|
297
|
+
Completed 200 OK in 87ms (Views: 76.3ms | ActiveRecord: 0.4ms)
|
298
|
+
Started PATCH "/journey/1/steps/name" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
299
|
+
Processing by Journea::StepsController#update as HTML
|
300
|
+
Parameters: {"utf8"=>"✓", "commit"=>"Continue", "journey_id"=>"1", "id"=>"name"}
|
301
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
302
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
303
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
304
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
305
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
306
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
307
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
308
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
309
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
310
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
311
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
312
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
313
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
314
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
315
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
316
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
317
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
318
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
319
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
320
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
321
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "journea_journey_transitions" SET "most_recent" = 'f' WHERE "journea_journey_transitions"."journey_id" = ?[0m [["journey_id", 1]]
|
322
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "journea_journey_transitions" ("to_state", "metadata", "sort_key", "journey_id", "most_recent", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["to_state", "address"], ["metadata", "{\"previous_state\":\"name\"}"], ["sort_key", 10], ["journey_id", 1], ["most_recent", true], ["created_at", 2017-01-22 22:14:00 UTC], ["updated_at", 2017-01-22 22:14:00 UTC]]
|
323
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
324
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
325
|
+
Redirected to http://www.example.com/journey/1/steps/address/edit
|
326
|
+
Completed 302 Found in 24ms (ActiveRecord: 1.1ms)
|
327
|
+
Started GET "/journey/1/steps/address/edit" for 127.0.0.1 at 2017-01-22 22:14:00 +0000
|
328
|
+
Processing by Journea::StepsController#edit as HTML
|
329
|
+
Parameters: {"journey_id"=>"1", "id"=>"address"}
|
330
|
+
[1m[36mJournea::Journey Load (0.0ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
331
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
332
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE "journea_keyvalues"."key" IN ('address_line_1', 'address_line_2') AND "journea_keyvalues"."journey_id" = 1[0m
|
333
|
+
Rendering steps/address.html.erb within layouts/application
|
334
|
+
Rendered steps/address.html.erb within layouts/application (1.6ms)
|
335
|
+
Completed 200 OK in 13ms (Views: 9.5ms | ActiveRecord: 0.2ms)
|
336
|
+
[1m[35m (1.3ms)[0m [1m[31mrollback transaction[0m
|
337
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
338
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
339
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
340
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
341
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
342
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
343
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
344
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
345
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
346
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
347
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
348
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
349
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
350
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
351
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
352
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
353
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
354
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
355
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
356
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
357
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
358
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
359
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
362
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
364
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
365
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
366
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
367
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
368
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
369
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
370
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
371
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
372
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
373
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
374
|
+
Started POST "/journey" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
375
|
+
Processing by Journea::JourneysController#create as HTML
|
376
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
377
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:29:26 UTC], ["updated_at", 2017-01-22 22:29:26 UTC]]
|
378
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
379
|
+
[1m[36mJournea::JourneyTransition Load (0.2ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
380
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
381
|
+
Completed 302 Found in 61ms (ActiveRecord: 3.4ms)
|
382
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
383
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
384
|
+
Started GET "/" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
385
|
+
Processing by PagesController#start as HTML
|
386
|
+
Rendering pages/start.html.erb within layouts/application
|
387
|
+
Rendered pages/start.html.erb within layouts/application (3.2ms)
|
388
|
+
Completed 200 OK in 137ms (Views: 135.3ms | ActiveRecord: 0.0ms)
|
389
|
+
Started POST "/journey/" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
390
|
+
Processing by Journea::JourneysController#create as HTML
|
391
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
392
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "journea_journeys" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", 2017-01-22 22:29:26 UTC], ["updated_at", 2017-01-22 22:29:26 UTC]]
|
393
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
394
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
395
|
+
Redirected to http://www.example.com/journey/1/steps/name/edit
|
396
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
397
|
+
Started GET "/journey/1/steps/name/edit" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
398
|
+
Processing by Journea::StepsController#edit as HTML
|
399
|
+
Parameters: {"journey_id"=>"1", "id"=>"name"}
|
400
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
401
|
+
[1m[36mJournea::JourneyTransition Load (0.2ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
402
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
403
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
404
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
405
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
406
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE 1=0 AND "journea_keyvalues"."journey_id" = 1[0m
|
407
|
+
Rendering steps/name.html.erb within layouts/application
|
408
|
+
Rendered steps/name.html.erb within layouts/application (72.3ms)
|
409
|
+
Completed 200 OK in 96ms (Views: 80.9ms | ActiveRecord: 0.6ms)
|
410
|
+
Started PATCH "/journey/1/steps/name" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
411
|
+
Processing by Journea::StepsController#update as HTML
|
412
|
+
Parameters: {"utf8"=>"✓", "commit"=>"Continue", "journey_id"=>"1", "id"=>"name"}
|
413
|
+
[1m[36mJournea::Journey Load (0.1ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
414
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
415
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
416
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
417
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
418
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
419
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
420
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
421
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
422
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
423
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
424
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
425
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
426
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
427
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
428
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
429
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
430
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
431
|
+
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
432
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
433
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "journea_journey_transitions" SET "most_recent" = 'f' WHERE "journea_journey_transitions"."journey_id" = ?[0m [["journey_id", 1]]
|
434
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "journea_journey_transitions" ("to_state", "metadata", "sort_key", "journey_id", "most_recent", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["to_state", "address"], ["metadata", "{\"previous_state\":\"name\"}"], ["sort_key", 10], ["journey_id", 1], ["most_recent", true], ["created_at", 2017-01-22 22:29:26 UTC], ["updated_at", 2017-01-22 22:29:26 UTC]]
|
435
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
436
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
437
|
+
Redirected to http://www.example.com/journey/1/steps/address/edit
|
438
|
+
Completed 302 Found in 25ms (ActiveRecord: 1.1ms)
|
439
|
+
Started GET "/journey/1/steps/address/edit" for 127.0.0.1 at 2017-01-22 22:29:26 +0000
|
440
|
+
Processing by Journea::StepsController#edit as HTML
|
441
|
+
Parameters: {"journey_id"=>"1", "id"=>"address"}
|
442
|
+
[1m[36mJournea::Journey Load (0.0ms)[0m [1m[34mSELECT "journea_journeys".* FROM "journea_journeys" WHERE "journea_journeys"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
443
|
+
[1m[36mJournea::JourneyTransition Load (0.1ms)[0m [1m[34mSELECT "journea_journey_transitions".* FROM "journea_journey_transitions" WHERE "journea_journey_transitions"."journey_id" = ? ORDER BY "journea_journey_transitions"."sort_key" DESC LIMIT ?[0m [["journey_id", 1], ["LIMIT", 1]]
|
444
|
+
[1m[36mJournea::Keyvalue Load (0.1ms)[0m [1m[34mSELECT "journea_keyvalues".* FROM "journea_keyvalues" WHERE "journea_keyvalues"."key" IN ('address_line_1', 'address_line_2') AND "journea_keyvalues"."journey_id" = 1[0m
|
445
|
+
Rendering steps/address.html.erb within layouts/application
|
446
|
+
Rendered steps/address.html.erb within layouts/application (2.2ms)
|
447
|
+
Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 0.2ms)
|
448
|
+
[1m[35m (1.4ms)[0m [1m[31mrollback transaction[0m
|