rails_sandbox_server 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/rails_sandbox_server/sandbox_controller.rb +6 -7
- data/lib/rails_sandbox_server.rb +1 -2
- data/lib/rails_sandbox_server/version.rb +1 -1
- data/test/dummy/config.ru +2 -1
- data/test/dummy/config/application.rb +4 -10
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +469 -0
- data/test/dummy/log/test.log +4061 -0
- data/test/sandbox_controller_test.rb +7 -2
- data/test/test_helper.rb +5 -2
- metadata +3 -61
- data/test/dummy/test/controllers/articles_controller_test.rb +0 -51
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2Me4STLJD3IHURApjrU2rLfgYDNFlhQ60_nDx618xmQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5jwebbiF9udpdRrZ_csV4FaqHzTUC2oQEAoFaHLs7aw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BSiMxNeGTC692zobwmuMlxnswPnCNTnh9HXubPMMpjc.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BWP7t3k4_i_YuxmI4s7hGy7oglEabhM0Jh71eB_JiOU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Cvp9yl21BXjS24i-d7y0zoSJrXt26nkQm7hiarCnWk8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/F4WepConqOMhTaXGZf2BJmZ64W8xLWXrM-yD8MB1Mmc.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FURGai1z5y__38P8KYHKjgyZll5PmJKfXgXgoofiAqA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Gn5TuU1oBSqLRKrAnOoZQJbSZKyqBqp5QhFwUe2Sz0k.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/JLV9iEsUhtcVIB3ggp9F0L1sXevvcZeuM5Q3ANf0F_Q.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KDE-uoUuTQlyxEGvrCOa58gjMWRcDPjHCQJklD8DOtw.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XiSHuRE8cwpZAgu-LoQFIGrTkgs8C7ky6xNFswfItL4.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Z53ErphZfpF7s92LlVuhjcHQB_PnK5ibuXK_3KNZsco.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/bPW9oPgt58Je-SSd2XgVWJwo8zWC_RL55csjCu5TJtA.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/dphXxQV1ZyMzvKy0tXw9loofG0G8_4MC_ZXSE_eHnFI.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/eISuf5WKUmPtF28HVt1UsCxtn8rMrNECb_cIKIi2mo0.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hC-LoD1APW_071bOOPCjyD_WWcMwwOtTXxzmmACgjN4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ivyNPf79WhlMN1XjjETEt_5gWv6DzKs_gtbX9g241D4.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mP7zUIJou6_enWuNvrwLqWdQE2XiEDHgMSdGptLBcQo.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n0OkXugoqdLIv52_xrb4z7Mp8JfUFcRrM28ausBM0Lc.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tpWsWpomFXXRhgW8piH0yQxqOEqnnT6or_qw4deuFQY.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ueUKzEuwfsdekdLse17KFuIJS2k1SubogYoMtLyU7YA.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vLLEqh7xR1YgUwwzKlHZ3GQ5SjvG036PVwiOwLtI6P8.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/wG_whueNWUbRh4wvgMhX2f7EtoDSqX1y_OwF9RgjLvc.cache +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a318673c13016c46d6f0c9ff2987485f0acf3eb
|
4
|
+
data.tar.gz: a1739f244c55e8f124213d808a7e40396c6f12ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16ce8ea02f9693e46174e3498c2f7363cca9db69a959bffc05664ad5b95787443366c30d3196d520a08cab995e2257a13f43122a8db89c1c0627e09adf101001
|
7
|
+
data.tar.gz: d331efa16d41d4f29c449161f57be1b53265713dd1e49784cbe856b9436dd14ce3699c00409e51995209ba4863251b4306b6029f6a2e6d8ee88c55e25a7ac424
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'active_record/fixtures'
|
2
2
|
require 'find'
|
3
3
|
require 'base64'
|
4
|
+
|
4
5
|
module RailsSandboxServer
|
5
6
|
class SandboxController < ActionController::Base
|
6
7
|
rescue_from StandardError do |exception|
|
7
8
|
puts exception
|
8
9
|
puts exception.backtrace
|
9
|
-
|
10
|
-
render text: exception, status: 500
|
10
|
+
render plain: exception, status: 500
|
11
11
|
end
|
12
12
|
|
13
13
|
def setup
|
@@ -21,23 +21,22 @@ module RailsSandboxServer
|
|
21
21
|
|
22
22
|
ActiveRecord::FixtureSet.create_fixtures(path, fixtures, class_mapping)
|
23
23
|
|
24
|
-
render
|
24
|
+
render plain: 'fixture load successfully'
|
25
25
|
end
|
26
26
|
|
27
27
|
def rollback
|
28
|
-
|
29
|
-
ActiveRecord::Base.connection.rollback_transaction
|
28
|
+
ActiveRecord::Base.connection.rollback_db_transaction
|
30
29
|
ActiveRecord::FixtureSet.reset_cache
|
31
30
|
Rails.cache.clear
|
32
31
|
|
33
|
-
render
|
32
|
+
render plain: 'rollback successfully'
|
34
33
|
end
|
35
34
|
|
36
35
|
def execute
|
37
36
|
code = Base64.decode64(params[:code])
|
38
37
|
result = eval(code)
|
39
38
|
|
40
|
-
render
|
39
|
+
render plain: result
|
41
40
|
end
|
42
41
|
|
43
42
|
private
|
data/lib/rails_sandbox_server.rb
CHANGED
@@ -6,8 +6,7 @@ class ActionController::Base
|
|
6
6
|
|
7
7
|
def sandbox_begin_transaction
|
8
8
|
unless ActiveRecord::Base.connection.transaction_open?
|
9
|
-
ActiveRecord::Base.connection.
|
10
|
-
logger.info "begin transaction #{ActiveRecord::Base.connection.current_transaction}"
|
9
|
+
ActiveRecord::Base.connection.begin_db_transaction
|
11
10
|
end
|
12
11
|
end
|
13
12
|
end
|
data/test/dummy/config.ru
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require_relative 'boot'
|
2
2
|
|
3
3
|
require 'rails/all'
|
4
4
|
|
@@ -7,17 +7,11 @@ require "rails_sandbox_server"
|
|
7
7
|
|
8
8
|
module Dummy
|
9
9
|
class Application < Rails::Application
|
10
|
+
# Initialize configuration defaults for originally generated Rails version.
|
11
|
+
config.load_defaults 5.1
|
12
|
+
|
10
13
|
# Settings in config/environments/* take precedence over those specified here.
|
11
14
|
# Application configuration should go into files in config/initializers
|
12
15
|
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
16
|
end
|
22
17
|
end
|
23
|
-
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -277,3 +277,472 @@ Started GET "/assets/application.self.js?body=1" for ::1 at 2015-06-26 11:48:12
|
|
277
277
|
Started GET "/assets/articles.self.js?body=1" for ::1 at 2015-06-26 11:48:12 +0900
|
278
278
|
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
279
279
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
280
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:27:02 +0900
|
281
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
282
|
+
Processing by Rails::WelcomeController#index as HTML
|
283
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
284
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
285
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
286
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
|
287
|
+
|
288
|
+
|
289
|
+
|
290
|
+
LocalJumpError (no block given (yield)):
|
291
|
+
|
292
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
293
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
294
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
|
295
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
296
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
297
|
+
/Users/PMAC151S/work/lib/rails_sandbox_server/lib/rails_sandbox_server.rb:10:in `sandbox_begin_transaction'
|
298
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:413:in `block in make_lambda'
|
299
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
|
300
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
|
301
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:198:in `block in halting'
|
302
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `block in invoke_before'
|
303
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `each'
|
304
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `invoke_before'
|
305
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:130:in `run_callbacks'
|
306
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
307
|
+
actionpack (5.1.3) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
308
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
309
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `block in instrument'
|
310
|
+
activesupport (5.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
311
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `instrument'
|
312
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
313
|
+
actionpack (5.1.3) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
314
|
+
activerecord (5.1.3) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
315
|
+
actionpack (5.1.3) lib/abstract_controller/base.rb:124:in `process'
|
316
|
+
actionview (5.1.3) lib/action_view/rendering.rb:30:in `process'
|
317
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:189:in `dispatch'
|
318
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:253:in `dispatch'
|
319
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
320
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
321
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
322
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `each'
|
323
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `serve'
|
324
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
325
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
326
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
327
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
328
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
329
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
330
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
331
|
+
activerecord (5.1.3) lib/active_record/migration.rb:556:in `call'
|
332
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
333
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
334
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
335
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
336
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
337
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
338
|
+
railties (5.1.3) lib/rails/rack/logger.rb:36:in `call_app'
|
339
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `block in call'
|
340
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
341
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:26:in `tagged'
|
342
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `tagged'
|
343
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `call'
|
344
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
345
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
346
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
347
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
348
|
+
activesupport (5.1.3) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
349
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
350
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/static.rb:125:in `call'
|
351
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
352
|
+
railties (5.1.3) lib/rails/engine.rb:522:in `call'
|
353
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
354
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
355
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
356
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
357
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:07 +0900
|
358
|
+
[1m[35m (2.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
359
|
+
Processing by Rails::WelcomeController#index as HTML
|
360
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
362
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
363
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
LocalJumpError (no block given (yield)):
|
368
|
+
|
369
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
370
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
371
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
|
372
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
373
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
374
|
+
/Users/PMAC151S/work/lib/rails_sandbox_server/lib/rails_sandbox_server.rb:10:in `sandbox_begin_transaction'
|
375
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:413:in `block in make_lambda'
|
376
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
|
377
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
|
378
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:198:in `block in halting'
|
379
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `block in invoke_before'
|
380
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `each'
|
381
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `invoke_before'
|
382
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:130:in `run_callbacks'
|
383
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
384
|
+
actionpack (5.1.3) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
385
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
386
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `block in instrument'
|
387
|
+
activesupport (5.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
388
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `instrument'
|
389
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
390
|
+
actionpack (5.1.3) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
391
|
+
activerecord (5.1.3) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
392
|
+
actionpack (5.1.3) lib/abstract_controller/base.rb:124:in `process'
|
393
|
+
actionview (5.1.3) lib/action_view/rendering.rb:30:in `process'
|
394
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:189:in `dispatch'
|
395
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:253:in `dispatch'
|
396
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
397
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
398
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
399
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `each'
|
400
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `serve'
|
401
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
402
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
403
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
404
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
405
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
406
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
407
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
408
|
+
activerecord (5.1.3) lib/active_record/migration.rb:556:in `call'
|
409
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
410
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
411
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
412
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
413
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
414
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
415
|
+
railties (5.1.3) lib/rails/rack/logger.rb:36:in `call_app'
|
416
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `block in call'
|
417
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
418
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:26:in `tagged'
|
419
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `tagged'
|
420
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `call'
|
421
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
422
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
423
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
424
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
425
|
+
activesupport (5.1.3) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
426
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
427
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/static.rb:125:in `call'
|
428
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
429
|
+
railties (5.1.3) lib/rails/engine.rb:522:in `call'
|
430
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
431
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
432
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
433
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
434
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:08 +0900
|
435
|
+
Processing by Rails::WelcomeController#index as HTML
|
436
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
437
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
|
438
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
439
|
+
|
440
|
+
|
441
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:09 +0900
|
442
|
+
Processing by Rails::WelcomeController#index as HTML
|
443
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
444
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
|
445
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
446
|
+
|
447
|
+
|
448
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:42 +0900
|
449
|
+
Processing by Rails::WelcomeController#index as HTML
|
450
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
452
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
453
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
LocalJumpError (no block given (yield)):
|
458
|
+
|
459
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
460
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
461
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
|
462
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
463
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
464
|
+
/Users/PMAC151S/work/lib/rails_sandbox_server/lib/rails_sandbox_server.rb:10:in `sandbox_begin_transaction'
|
465
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:413:in `block in make_lambda'
|
466
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
|
467
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
|
468
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:198:in `block in halting'
|
469
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `block in invoke_before'
|
470
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `each'
|
471
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `invoke_before'
|
472
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:130:in `run_callbacks'
|
473
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
474
|
+
actionpack (5.1.3) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
475
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
476
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `block in instrument'
|
477
|
+
activesupport (5.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
478
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `instrument'
|
479
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
480
|
+
actionpack (5.1.3) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
481
|
+
activerecord (5.1.3) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
482
|
+
actionpack (5.1.3) lib/abstract_controller/base.rb:124:in `process'
|
483
|
+
actionview (5.1.3) lib/action_view/rendering.rb:30:in `process'
|
484
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:189:in `dispatch'
|
485
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:253:in `dispatch'
|
486
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
487
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
488
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
489
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `each'
|
490
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `serve'
|
491
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
492
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
493
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
494
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
495
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
496
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
497
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
498
|
+
activerecord (5.1.3) lib/active_record/migration.rb:556:in `call'
|
499
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
500
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
501
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
502
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
503
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
504
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
505
|
+
railties (5.1.3) lib/rails/rack/logger.rb:36:in `call_app'
|
506
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `block in call'
|
507
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
508
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:26:in `tagged'
|
509
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `tagged'
|
510
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `call'
|
511
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
512
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
513
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
514
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
515
|
+
activesupport (5.1.3) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
516
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
517
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/static.rb:125:in `call'
|
518
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
519
|
+
railties (5.1.3) lib/rails/engine.rb:522:in `call'
|
520
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
521
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
522
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
523
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
524
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:53 +0900
|
525
|
+
Processing by Rails::WelcomeController#index as HTML
|
526
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
527
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
|
528
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
529
|
+
|
530
|
+
|
531
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:54 +0900
|
532
|
+
Processing by Rails::WelcomeController#index as HTML
|
533
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
534
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.5ms)
|
535
|
+
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
536
|
+
|
537
|
+
|
538
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:54 +0900
|
539
|
+
Processing by Rails::WelcomeController#index as HTML
|
540
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
541
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.5ms)
|
542
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
543
|
+
|
544
|
+
|
545
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:55 +0900
|
546
|
+
Processing by Rails::WelcomeController#index as HTML
|
547
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
548
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.7ms)
|
549
|
+
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
550
|
+
|
551
|
+
|
552
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:55 +0900
|
553
|
+
Processing by Rails::WelcomeController#index as HTML
|
554
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
555
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (3.5ms)
|
556
|
+
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
557
|
+
|
558
|
+
|
559
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:55 +0900
|
560
|
+
Processing by Rails::WelcomeController#index as HTML
|
561
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
562
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.4ms)
|
563
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
564
|
+
|
565
|
+
|
566
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:55 +0900
|
567
|
+
Processing by Rails::WelcomeController#index as HTML
|
568
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
569
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (1.9ms)
|
570
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
571
|
+
|
572
|
+
|
573
|
+
Started GET "/" for 127.0.0.1 at 2017-08-28 19:30:55 +0900
|
574
|
+
Processing by Rails::WelcomeController#index as HTML
|
575
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb
|
576
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
|
577
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
578
|
+
|
579
|
+
|
580
|
+
Started GET "/rails/info" for 127.0.0.1 at 2017-08-28 19:32:27 +0900
|
581
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
582
|
+
Processing by Rails::InfoController#index as HTML
|
583
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
584
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
585
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
586
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
LocalJumpError (no block given (yield)):
|
591
|
+
|
592
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
593
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
594
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
|
595
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
596
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
597
|
+
/Users/PMAC151S/work/lib/rails_sandbox_server/lib/rails_sandbox_server.rb:10:in `sandbox_begin_transaction'
|
598
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:413:in `block in make_lambda'
|
599
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
|
600
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
|
601
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:198:in `block in halting'
|
602
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `block in invoke_before'
|
603
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `each'
|
604
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `invoke_before'
|
605
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:130:in `run_callbacks'
|
606
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
607
|
+
actionpack (5.1.3) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
608
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
609
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `block in instrument'
|
610
|
+
activesupport (5.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
611
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `instrument'
|
612
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
613
|
+
actionpack (5.1.3) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
614
|
+
activerecord (5.1.3) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
615
|
+
actionpack (5.1.3) lib/abstract_controller/base.rb:124:in `process'
|
616
|
+
actionview (5.1.3) lib/action_view/rendering.rb:30:in `process'
|
617
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:189:in `dispatch'
|
618
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:253:in `dispatch'
|
619
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
620
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
621
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
622
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `each'
|
623
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `serve'
|
624
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
625
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
626
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
627
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
628
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
629
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
630
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
631
|
+
activerecord (5.1.3) lib/active_record/migration.rb:556:in `call'
|
632
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
633
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
634
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
635
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
636
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
637
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
638
|
+
railties (5.1.3) lib/rails/rack/logger.rb:36:in `call_app'
|
639
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `block in call'
|
640
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
641
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:26:in `tagged'
|
642
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `tagged'
|
643
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `call'
|
644
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
645
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
646
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
647
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
648
|
+
activesupport (5.1.3) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
649
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
650
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/static.rb:125:in `call'
|
651
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
652
|
+
railties (5.1.3) lib/rails/engine.rb:522:in `call'
|
653
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
654
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
655
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
656
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
657
|
+
Started GET "/rails/info" for 127.0.0.1 at 2017-08-28 19:34:13 +0900
|
658
|
+
Processing by Rails::InfoController#index as HTML
|
659
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
660
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
661
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
662
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.3ms)
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
LocalJumpError (no block given (yield)):
|
667
|
+
|
668
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
|
669
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
|
670
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/monitor.rb:214:in `mon_synchronize'
|
671
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
|
672
|
+
activerecord (5.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
|
673
|
+
/Users/PMAC151S/work/lib/rails_sandbox_server/lib/rails_sandbox_server.rb:10:in `sandbox_begin_transaction'
|
674
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:413:in `block in make_lambda'
|
675
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
|
676
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
|
677
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:198:in `block in halting'
|
678
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `block in invoke_before'
|
679
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `each'
|
680
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:507:in `invoke_before'
|
681
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:130:in `run_callbacks'
|
682
|
+
actionpack (5.1.3) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
683
|
+
actionpack (5.1.3) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
684
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
685
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `block in instrument'
|
686
|
+
activesupport (5.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
687
|
+
activesupport (5.1.3) lib/active_support/notifications.rb:166:in `instrument'
|
688
|
+
actionpack (5.1.3) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
689
|
+
actionpack (5.1.3) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
690
|
+
activerecord (5.1.3) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
691
|
+
actionpack (5.1.3) lib/abstract_controller/base.rb:124:in `process'
|
692
|
+
actionview (5.1.3) lib/action_view/rendering.rb:30:in `process'
|
693
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:189:in `dispatch'
|
694
|
+
actionpack (5.1.3) lib/action_controller/metal.rb:253:in `dispatch'
|
695
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
696
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
697
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:46:in `block in serve'
|
698
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `each'
|
699
|
+
actionpack (5.1.3) lib/action_dispatch/journey/router.rb:33:in `serve'
|
700
|
+
actionpack (5.1.3) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
701
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
702
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
703
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
704
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
705
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
706
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
707
|
+
activerecord (5.1.3) lib/active_record/migration.rb:556:in `call'
|
708
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
709
|
+
activesupport (5.1.3) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
710
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
711
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
712
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
713
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
714
|
+
railties (5.1.3) lib/rails/rack/logger.rb:36:in `call_app'
|
715
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `block in call'
|
716
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
717
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:26:in `tagged'
|
718
|
+
activesupport (5.1.3) lib/active_support/tagged_logging.rb:69:in `tagged'
|
719
|
+
railties (5.1.3) lib/rails/rack/logger.rb:24:in `call'
|
720
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
721
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
722
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
723
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
724
|
+
activesupport (5.1.3) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
725
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
726
|
+
actionpack (5.1.3) lib/action_dispatch/middleware/static.rb:125:in `call'
|
727
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
728
|
+
railties (5.1.3) lib/rails/engine.rb:522:in `call'
|
729
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
730
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
731
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
732
|
+
/Users/PMAC151S/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
733
|
+
Started GET "/rails/info" for 127.0.0.1 at 2017-08-28 19:34:14 +0900
|
734
|
+
Processing by Rails::InfoController#index as HTML
|
735
|
+
Redirected to http://localhost:3000/rails/info/routes
|
736
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
737
|
+
|
738
|
+
|
739
|
+
Started GET "/rails/info/routes" for 127.0.0.1 at 2017-08-28 19:34:14 +0900
|
740
|
+
Processing by Rails::InfoController#routes as HTML
|
741
|
+
Rendering /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/info/routes.html.erb within layouts/application
|
742
|
+
Rendered collection of /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/actionpack-5.1.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb [9 times] (8.5ms)
|
743
|
+
Rendered collection of /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/actionpack-5.1.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb [3 times] (0.7ms)
|
744
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/actionpack-5.1.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.3ms)
|
745
|
+
Rendered /Users/PMAC151S/work/lib/rails_sandbox_server/vendor/bundle/gems/railties-5.1.3/lib/rails/templates/rails/info/routes.html.erb within layouts/application (24.6ms)
|
746
|
+
Completed 200 OK in 34ms (Views: 31.7ms | ActiveRecord: 0.0ms)
|
747
|
+
|
748
|
+
|