shortenizer 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/Rakefile +23 -0
- data/app/assets/javascripts/shortenizer/application.js +28 -0
- data/app/assets/stylesheets/shortenizer/application.css +123 -0
- data/app/controllers/shortenizer/application_controller.rb +4 -0
- data/app/controllers/shortenizer/u_controller.rb +36 -0
- data/app/helpers/shortenizer/application_helper.rb +4 -0
- data/app/models/shortenizer/url.rb +19 -0
- data/app/presenters/shortenizer/url_presenter.rb +23 -0
- data/app/views/layouts/shortenizer/application.html.erb +19 -0
- data/app/views/shortenizer/u/new.html.erb +4 -0
- data/app/views/shortenizer/u/show.html.erb +7 -0
- data/config/routes.rb +8 -0
- data/db/migrate/20141015221054_add_shortenizer_urls_table.rb +8 -0
- data/lib/shortenizer.rb +4 -0
- data/lib/shortenizer/engine.rb +26 -0
- data/lib/shortenizer/mount_point.rb +13 -0
- data/lib/shortenizer/version.rb +3 -0
- data/lib/tasks/shortenizer_tasks.rake +4 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -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/config.ru +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -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/mime_types.rb +4 -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/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +21 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +37724 -0
- data/spec/dummy/log/test.log +280 -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/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0e145c8d9b7a337921cad6e2ac10daf0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/11cd522cee6431afd456e86bf23b3031 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/143ca05c549c1126abdfc78e4d67b8fa +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/20271ea5ca35664532b622e5bb70f88c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2729c3a89e31f64cb31d0721f47afa32 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3b30147cb780a01beca487d79f0d77e2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5717abda788abeec36709efb6ba01d38 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/58a64848570974f113ccd648898d8b17 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6f127c6d3ff02ab7333529a682402528 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6f7d6444d8ecd290fc66fcd3cd678225 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/737a1995fb8c894e2735c7266df2e7a6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/80975fe0bf6c19e4c0044b412114b5e2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/868252c279d2a5cc2ae71197271a0a9c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/98afa9eb164be3902512f323968479b4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a0de67fb651755110dd375bfab2c5272 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a1ddc0bf2ca692563c4dbfc805d2f617 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a483a47ea3543ee94c46303f1b49db5d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af1be136c22c7c7a9f6f94b2f78f3b33 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c7809fd0d1ecae831459b828e00dbbda +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dfeb7b1afe25213579cffff6909e285f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e8521259ab5ca42adabc9f4e7fee338c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e9a511a12490493848aa5023b4946b2f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fd187d2066d9a8ad2ee217ea70baa138 +0 -0
- data/spec/models/shortenizer/url_spec.rb +23 -0
- data/spec/presenters/shortenizer/url_presenter_spec.rb +13 -0
- data/spec/rails_helper.rb +47 -0
- data/spec/spec_helper.rb +78 -0
- metadata +249 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "shortenizer_urls" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "shortlink" varchar(255), "target" varchar(255)) [0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
6
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141015221054')
|
7
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
9
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
12
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '58e1ca01bf7b4d9e' LIMIT 1
|
13
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "58e1ca01bf7b4d9e"], ["target", "https://yahoo.com"]]
|
14
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15
|
+
[1m[36mShortenizer::Url Load (0.2ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
16
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
17
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
18
|
+
[1m[35m (0.1ms)[0m begin transaction
|
19
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
20
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '5f1f5b45e4bcdc66' LIMIT 1
|
21
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "5f1f5b45e4bcdc66"], ["target", "ile://yahoo.com"]]
|
22
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
23
|
+
[1m[36mShortenizer::Url Load (0.1ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
24
|
+
[1m[35m (7.6ms)[0m rollback transaction
|
25
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
26
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
28
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'a00738b0c1accd54' LIMIT 1
|
29
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "a00738b0c1accd54"], ["target", "https://yahoo.com"]]
|
30
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
31
|
+
[1m[36mShortenizer::Url Load (0.2ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
32
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
33
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
34
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
36
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '514317a387b483b7' LIMIT 1
|
37
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "514317a387b483b7"], ["target", "https://yahoo.com"]]
|
38
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
39
|
+
[1m[36mShortenizer::Url Load (0.1ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
40
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
44
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '98b658917d6c3c97' LIMIT 1
|
47
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "98b658917d6c3c97"], ["target", "https://yahoo.com"]]
|
48
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
49
|
+
[1m[36mShortenizer::Url Load (0.2ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
50
|
+
[1m[35m (8.5ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
53
|
+
[1m[36mShortenizer::Url Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
54
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
55
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
56
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
57
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
58
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
59
|
+
[1m[35m (0.1ms)[0m begin transaction
|
60
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
61
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'a36f3399dfbce7df' LIMIT 1
|
62
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "a36f3399dfbce7df"], ["target", "https://yahoo.com"]]
|
63
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
64
|
+
[1m[36mShortenizer::Url Load (0.1ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
65
|
+
[1m[35m (8.1ms)[0m rollback transaction
|
66
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68
|
+
[1m[36mShortenizer::Url Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
69
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
70
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
72
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
73
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
74
|
+
[1m[35m (0.1ms)[0m begin transaction
|
75
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
76
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '8b1d533b1bf65d72' LIMIT 1
|
77
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "8b1d533b1bf65d72"], ["target", "https://yahoo.com"]]
|
78
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
79
|
+
[1m[36mShortenizer::Url Load (0.2ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
80
|
+
[1m[35m (8.4ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
82
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
83
|
+
[1m[36mShortenizer::Url Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
84
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
85
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
86
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
87
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
88
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
89
|
+
[1m[35m (0.1ms)[0m begin transaction
|
90
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
91
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '0f1845986e79d05b' LIMIT 1
|
92
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "0f1845986e79d05b"], ["target", "https://yahoo.com"]]
|
93
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
94
|
+
[1m[36mShortenizer::Url Load (0.3ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
95
|
+
[1m[35m (8.4ms)[0m rollback transaction
|
96
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
98
|
+
[1m[36mShortenizer::Url Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
99
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
100
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
101
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
102
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
103
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
104
|
+
[1m[35m (0.1ms)[0m begin transaction
|
105
|
+
[1m[36m (0.4ms)[0m [1mSAVEPOINT active_record_1[0m
|
106
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '9e2903e78f68fc8a' LIMIT 1
|
107
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "9e2903e78f68fc8a"], ["target", "https://yahoo.com"]]
|
108
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
109
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
110
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
112
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
113
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'd4c9d180ae0babf3' LIMIT 1
|
114
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "d4c9d180ae0babf3"], ["target", "https://yahoo.com"]]
|
115
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
116
|
+
[1m[36m (7.6ms)[0m [1mrollback transaction[0m
|
117
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
118
|
+
[1m[35m (0.1ms)[0m begin transaction
|
119
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
120
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '71ad496d4a350f4b' LIMIT 1
|
121
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "71ad496d4a350f4b"], ["target", "https://yahoo.com"]]
|
122
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
123
|
+
[1m[36m (9.0ms)[0m [1mrollback transaction[0m
|
124
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
125
|
+
[1m[35m (0.1ms)[0m begin transaction
|
126
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
127
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'd0dc75817a0a743b' LIMIT 1
|
128
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "d0dc75817a0a743b"], ["target", "https://yahoo.com"]]
|
129
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
130
|
+
[1m[36m (8.2ms)[0m [1mrollback transaction[0m
|
131
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
133
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
134
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '035e5c2346d79bd5' LIMIT 1
|
135
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "035e5c2346d79bd5"], ["target", "https://yahoo.com"]]
|
136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
137
|
+
[1m[36m (8.9ms)[0m [1mrollback transaction[0m
|
138
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
139
|
+
[1m[35m (0.2ms)[0m begin transaction
|
140
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
141
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '508b081d72feff3d' LIMIT 1
|
142
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "508b081d72feff3d"], ["target", "https://yahoo.com"]]
|
143
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
144
|
+
[1m[36mShortenizer::Url Load (0.1ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
145
|
+
[1m[35m (7.5ms)[0m rollback transaction
|
146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
147
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
148
|
+
[1m[36mShortenizer::Url Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
149
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
150
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
151
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
152
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
153
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
154
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
156
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
157
|
+
[1m[35mShortenizer::Url Exists (0.4ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'd48f0f126d68c897' LIMIT 1
|
158
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "d48f0f126d68c897"], ["target", "https://yahoo.com"]]
|
159
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
160
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
161
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
163
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
164
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '8d1d63c02ffcea38' LIMIT 1
|
165
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "8d1d63c02ffcea38"], ["target", "https://yahoo.com"]]
|
166
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
167
|
+
[1m[36m (8.3ms)[0m [1mrollback transaction[0m
|
168
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
171
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '72ca0c6ba29a4cc6' LIMIT 1
|
172
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "72ca0c6ba29a4cc6"], ["target", "https://yahoo.com"]]
|
173
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
174
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
175
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
177
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
178
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'e62eb76872e505d5' LIMIT 1
|
179
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "e62eb76872e505d5"], ["target", "https://yahoo.com"]]
|
180
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
181
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
182
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
185
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '529f9b98dd9ba148' LIMIT 1
|
186
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "529f9b98dd9ba148"], ["target", "https://yahoo.com"]]
|
187
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
188
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
189
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
190
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
193
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'af30608ce5192a9c' LIMIT 1
|
194
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "af30608ce5192a9c"], ["target", "https://yahoo.com"]]
|
195
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
196
|
+
[1m[36m (7.5ms)[0m [1mrollback transaction[0m
|
197
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
199
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
200
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '95eb5b8a1a4cce2e' LIMIT 1
|
201
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "95eb5b8a1a4cce2e"], ["target", "https://yahoo.com"]]
|
202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
203
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
204
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
207
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '4ce65cd9965347fb' LIMIT 1
|
208
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "4ce65cd9965347fb"], ["target", "https://yahoo.com"]]
|
209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
210
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
211
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
212
|
+
[1m[35m (0.1ms)[0m begin transaction
|
213
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
214
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '4c14aef78ae1827c' LIMIT 1
|
215
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "4c14aef78ae1827c"], ["target", "https://yahoo.com"]]
|
216
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
217
|
+
[1m[36m (8.4ms)[0m [1mrollback transaction[0m
|
218
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
219
|
+
[1m[35m (0.1ms)[0m begin transaction
|
220
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
221
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '2efdeb5a91d8857d' LIMIT 1
|
222
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "2efdeb5a91d8857d"], ["target", "https://yahoo.com"]]
|
223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
224
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
225
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
227
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
228
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '86636bb9064907df' LIMIT 1
|
229
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "86636bb9064907df"], ["target", "https://yahoo.com"]]
|
230
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
231
|
+
[1m[36m (8.5ms)[0m [1mrollback transaction[0m
|
232
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
235
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12978177c99a482f' LIMIT 1
|
236
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "12978177c99a482f"], ["target", "https://yahoo.com"]]
|
237
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
238
|
+
[1m[36m (8.8ms)[0m [1mrollback transaction[0m
|
239
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
240
|
+
[1m[35m (0.1ms)[0m begin transaction
|
241
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
242
|
+
[1m[35mShortenizer::Url Exists (0.6ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '4f7ddcf5464ed68f' LIMIT 1
|
243
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "4f7ddcf5464ed68f"], ["target", "http://yahoo.com"]]
|
244
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
245
|
+
[1m[36mShortenizer::Url Load (0.2ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
246
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
248
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
249
|
+
[1m[36mShortenizer::Url Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
250
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
251
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
252
|
+
[1m[35mShortenizer::Url Load (0.0ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
253
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
255
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
256
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '0c06349dd31f7738' LIMIT 1
|
257
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "0c06349dd31f7738"], ["target", "http://yahoo.com"]]
|
258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
259
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
260
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
261
|
+
[1m[35m (0.1ms)[0m begin transaction
|
262
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
263
|
+
[1m[35mShortenizer::Url Exists (0.1ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = 'a27de909eaa4c636' LIMIT 1
|
264
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "a27de909eaa4c636"], ["target", "http://yahoo.com"]]
|
265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
266
|
+
[1m[36mShortenizer::Url Load (0.1ms)[0m [1mSELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1[0m [["id", 1]]
|
267
|
+
[1m[35m (8.7ms)[0m rollback transaction
|
268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
269
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
270
|
+
[1m[36mShortenizer::Url Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '12345' LIMIT 1[0m
|
271
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?) [["shortlink", "12345"], ["target", "http://eftimov.net"]]
|
272
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
273
|
+
[1m[35mShortenizer::Url Load (0.1ms)[0m SELECT "shortenizer_urls".* FROM "shortenizer_urls" WHERE "shortenizer_urls"."id" = ? LIMIT 1 [["id", 1]]
|
274
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
276
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
277
|
+
[1m[35mShortenizer::Url Exists (0.2ms)[0m SELECT 1 AS one FROM "shortenizer_urls" WHERE "shortenizer_urls"."shortlink" = '468badee9a68ef9c' LIMIT 1
|
278
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shortenizer_urls" ("shortlink", "target") VALUES (?, ?)[0m [["shortlink", "468badee9a68ef9c"], ["target", "http://yahoo.com"]]
|
279
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
280
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|