Post Load (0.4ms) SELECT "posts".* FROM "posts"  (10.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (6.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPosts (20170103234524)  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddPosts (20170103234524)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "content" text, "age" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170103234524"]]  (10.9ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-01-03 23:46:05 UTC], ["updated_at", 2017-01-03 23:46:05 UTC]]  (5.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Post Load (1.1ms) SELECT "posts".* FROM "posts" Post Load (0.2ms) SELECT "posts".* FROM "posts" Post Load (1.0ms) SELECT "posts".* FROM "posts" Post Load (1.1ms) SELECT "posts".* FROM "posts"  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2017-01-04 00:01:24 UTC], ["updated_at", 2017-01-04 00:01:24 UTC]]  (11.8ms) commit transaction Post Load (0.2ms) SELECT "posts".* FROM "posts" Post Load (1.1ms) SELECT "posts".* FROM "posts" Post Load (1.1ms) SELECT "posts".* FROM "posts"  (0.3ms) SELECT COUNT(*) FROM "posts" SQL (13.5ms) DELETE FROM "posts" Post Load (0.2ms) SELECT "posts".* FROM "posts" Post Load (1.2ms) SELECT "posts".* FROM "posts" Post Load (1.1ms) SELECT "posts".* FROM "posts" Post Load (1.1ms) SELECT "posts".* FROM "posts"  (0.4ms) SELECT COUNT(*) FROM "posts" Post Load (0.2ms) SELECT "posts".* FROM "posts"  (0.1ms) begin transaction SQL (2.1ms) INSERT INTO "posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", 2017-01-04 00:49:56 UTC], ["updated_at", 2017-01-04 00:49:56 UTC]]  (4.7ms) commit transaction  (0.1ms) SELECT COUNT(*) FROM "posts" Post Load (0.2ms) SELECT "posts".* FROM "posts" ORDER BY "posts"."id" ASC LIMIT ? [["LIMIT", 1]] SQL (9.2ms) UPDATE "posts" SET "name" = 'asd' WHERE "posts"."id" = ? [["id", 2]]  (0.1ms) SELECT COUNT(*) FROM "posts" Post Load (0.4ms) SELECT "posts".* FROM "posts" Started GET "/" for 127.0.0.1 at 2017-01-25 21:45:04 -0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/weston/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/weston/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (6.1ms) Completed 200 OK in 20ms (Views: 14.2ms | ActiveRecord: 0.0ms) Started GET "/test" for 127.0.0.1 at 2017-01-25 21:47:21 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:141:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `each' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/19567023a41d1529/variables" for 127.0.0.1 at 2017-01-25 21:47:21 -0800 Started POST "/__better_errors/19567023a41d1529/variables" for 127.0.0.1 at 2017-01-25 21:47:31 -0800 Started POST "/__better_errors/19567023a41d1529/variables" for 127.0.0.1 at 2017-01-25 21:47:47 -0800 Started POST "/__better_errors/19567023a41d1529/variables" for 127.0.0.1 at 2017-01-25 21:47:48 -0800 Started POST "/__better_errors/19567023a41d1529/variables" for 127.0.0.1 at 2017-01-25 21:47:51 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 21:49:05 -0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:141:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/2955c60c5e5ad4cf/variables" for 127.0.0.1 at 2017-01-25 21:49:06 -0800 Started POST "/__better_errors/2955c60c5e5ad4cf/variables" for 127.0.0.1 at 2017-01-25 21:49:10 -0800 Started POST "/__better_errors/2955c60c5e5ad4cf/variables" for 127.0.0.1 at 2017-01-25 21:49:13 -0800 Started POST "/__better_errors/2955c60c5e5ad4cf/eval" for 127.0.0.1 at 2017-01-25 21:49:26 -0800 Started POST "/__better_errors/2955c60c5e5ad4cf/eval" for 127.0.0.1 at 2017-01-25 21:51:37 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 21:53:17 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:14:in `add_style' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:171:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:168:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/89e09c69b4f17fb6/variables" for 127.0.0.1 at 2017-01-25 21:53:17 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 21:53:25 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:141:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/302862c35cc2d5ae/variables" for 127.0.0.1 at 2017-01-25 21:53:25 -0800 Started POST "/__better_errors/302862c35cc2d5ae/variables" for 127.0.0.1 at 2017-01-25 21:53:30 -0800 Started POST "/__better_errors/302862c35cc2d5ae/eval" for 127.0.0.1 at 2017-01-25 21:53:38 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 21:53:53 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:141:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:53:53 -0800 Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:53:57 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:54:04 -0800 Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:55:52 -0800 Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:55:58 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:56:08 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:56:13 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:56:17 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:56:54 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:57:09 -0800 Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:57:45 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:57:56 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:58:09 -0800 Started POST "/__better_errors/d0a5552a11d0950d/variables" for 127.0.0.1 at 2017-01-25 21:58:38 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:58:55 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:58:59 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:59:51 -0800 Started POST "/__better_errors/d0a5552a11d0950d/eval" for 127.0.0.1 at 2017-01-25 21:59:58 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:00:44 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:141:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/01bfd65479af5c7b/variables" for 127.0.0.1 at 2017-01-25 22:00:44 -0800 Started POST "/__better_errors/01bfd65479af5c7b/variables" for 127.0.0.1 at 2017-01-25 22:00:49 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:01:24 -0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:134:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/3f771dfcd63b3f6f/variables" for 127.0.0.1 at 2017-01-25 22:01:25 -0800 Started POST "/__better_errors/3f771dfcd63b3f6f/variables" for 127.0.0.1 at 2017-01-25 22:01:29 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:11:19 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:14:in `add_style' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:171:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:168:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:64:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/7009908a9192ec77/variables" for 127.0.0.1 at 2017-01-25 22:11:19 -0800 Started POST "/__better_errors/7009908a9192ec77/variables" for 127.0.0.1 at 2017-01-25 22:11:24 -0800 Started POST "/__better_errors/7009908a9192ec77/eval" for 127.0.0.1 at 2017-01-25 22:11:42 -0800 Started POST "/__better_errors/7009908a9192ec77/eval" for 127.0.0.1 at 2017-01-25 22:11:51 -0800 Started POST "/__better_errors/7009908a9192ec77/eval" for 127.0.0.1 at 2017-01-25 22:12:07 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:12:25 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:112:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:62:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/20da4c8fb39cbf21/variables" for 127.0.0.1 at 2017-01-25 22:12:26 -0800 Started POST "/__better_errors/20da4c8fb39cbf21/eval" for 127.0.0.1 at 2017-01-25 22:12:36 -0800 Started POST "/__better_errors/20da4c8fb39cbf21/eval" for 127.0.0.1 at 2017-01-25 22:12:45 -0800 Started POST "/__better_errors/20da4c8fb39cbf21/eval" for 127.0.0.1 at 2017-01-25 22:12:48 -0800 Started POST "/__better_errors/20da4c8fb39cbf21/variables" for 127.0.0.1 at 2017-01-25 22:12:54 -0800 Started POST "/__better_errors/20da4c8fb39cbf21/variables" for 127.0.0.1 at 2017-01-25 22:14:05 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:14:06 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:112:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:62:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started GET "/test" for 127.0.0.1 at 2017-01-25 22:14:28 -0800 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:112:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:62:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/66d4db1230364d81/variables" for 127.0.0.1 at 2017-01-25 22:14:29 -0800 Started POST "/__better_errors/66d4db1230364d81/variables" for 127.0.0.1 at 2017-01-25 22:14:31 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:15:57 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:131:in `block (3 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:130:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:62:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:15:58 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:12 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:13 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:15 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:18 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:19 -0800 Started POST "/__better_errors/064bce692f9ac74f/variables" for 127.0.0.1 at 2017-01-25 22:16:21 -0800 Started GET "/test" for 127.0.0.1 at 2017-01-25 22:16:51 -0800 Processing by SpreadsheetsController#test_xlsx as HTML Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms) NoMethodError - undefined method `row' for nil:NilClass: axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:698:in `range' axlsx (2.0.1) lib/axlsx/workbook/worksheet/worksheet.rb:615:in `[]' axlsx_styler (0.1.7) lib/axlsx_styler/axlsx_worksheet.rb:30:in `add_border' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:131:in `block (3 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:130:in `block (2 levels) in to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:94:in `block in to_axlsx_package' axlsx (2.0.1) lib/axlsx/workbook/workbook.rb:262:in `add_worksheet' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:25:in `to_axlsx_package' /Users/weston/html/open_source/spreadsheet_architect/lib/spreadsheet_architect/class_methods/xlsx.rb:9:in `to_xlsx' app/controllers/spreadsheets_controller.rb:62:in `test_xlsx' actionpack (5.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.1) lib/active_record/migration.rb:553:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call' better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call' better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.1) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.0) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/weston/.rbenv/versions/2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'