Started GET "/" for 127.0.0.1 at 2016-08-06 14:04:45 +0200 Processing by Rails::WelcomeController#index as HTML Rendered /home/strzibny/.gem/ruby/gems/railties-4.2.4/lib/rails/templates/rails/welcome/index.html.erb (11.3ms) Completed 200 OK in 64ms (Views: 64.0ms | ActiveRecord: 0.0ms) Started GET "/invoice_bar/invoice_templates/new" for 127.0.0.1 at 2016-08-06 14:05:37 +0200 Processing by InvoiceBar::InvoiceTemplatesController#new as HTML Completed 500 Internal Server Error in 53ms (ActiveRecord: 4.4ms) ActiveRecord::StatementInvalid (Could not find table 'invoice_bar_users'): activerecord (4.2.4) lib/active_record/connection_adapters/sqlite3_adapter.rb:511:in `table_structure' activerecord (4.2.4) lib/active_record/connection_adapters/sqlite3_adapter.rb:385:in `columns' activerecord (4.2.4) lib/active_record/connection_adapters/schema_cache.rb:43:in `columns' activerecord (4.2.4) lib/active_record/attributes.rb:93:in `columns' activerecord (4.2.4) lib/active_record/attributes.rb:98:in `columns_hash' activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:64:in `block in valid?' activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:64:in `each' activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:64:in `all?' activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:64:in `valid?' activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:22:in `method_missing' sorcery (0.9.1) lib/sorcery/adapters/active_record_adapter.rb:85:in `find_by_id' sorcery (0.9.1) lib/sorcery/controller.rb:130:in `login_from_session' sorcery (0.9.1) lib/sorcery/controller.rb:78:in `current_user' sorcery (0.9.1) lib/sorcery/controller.rb:71:in `logged_in?' sorcery (0.9.1) lib/sorcery/controller.rb:23:in `require_login' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:164:in `block in halting' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.6ms)  (81.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (74.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (92.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (82.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" InvoiceBar::User Load (0.7ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" SQLite3::SQLException: no such table: invoice_bar_users: SELECT "invoice_bar_users".* FROM "invoice_bar_users"  (412.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (82.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateInvoiceBarAddresses (20160806120900)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120900_create_invoice_bar_addresses.invoice_bar.rb:14)  (0.5ms) CREATE TABLE "invoice_bar_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar NOT NULL, "street_number" varchar NOT NULL, "city" varchar NOT NULL, "city_part" varchar, "postcode" varchar NOT NULL, "extra_address_line" varchar, "addressable_id" integer NOT NULL, "addressable_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120900"]]  (92.4ms) commit transaction Migrating to CreateInvoiceBarInvoiceTemplates (20160806120901)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120901_create_invoice_bar_invoice_templates.invoice_bar.rb:16)  (0.4ms) CREATE TABLE "invoice_bar_invoice_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "issue_date" date, "due_date" date, "contact_name" varchar, "contact_tax_id" integer, "contact_tax_id2" varchar, "user_id" integer, "payment_identification_number" integer, "account_id" integer, "amount" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_invoice_bar_invoice_templates_on_name" ON "invoice_bar_invoice_templates" ("name") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120901"]]  (96.9ms) commit transaction Migrating to CreateInvoiceBarInvoices (20160806120902)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120902_create_invoice_bar_invoices.invoice_bar.rb:20)  (0.4ms) CREATE TABLE "invoice_bar_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar NOT NULL, "issue_date" date NOT NULL, "due_date" date NOT NULL, "contact_name" varchar NOT NULL, "contact_tax_id" integer, "contact_tax_id2" varchar, "user_id" integer NOT NULL, "payment_identification_number" integer, "account_id" integer NOT NULL, "amount" integer NOT NULL, "sent" boolean DEFAULT 'f' NOT NULL, "paid" boolean DEFAULT 'f' NOT NULL, "issuer" boolean DEFAULT 't' NOT NULL, "receipt_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_invoice_bar_invoices_on_number" ON "invoice_bar_invoices" ("number")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index'   (0.2ms) CREATE INDEX "index_invoice_bar_invoices_on_contact_name" ON "invoice_bar_invoices" ("contact_name")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index'  (0.2ms) CREATE INDEX "index_invoice_bar_invoices_on_contact_tax_id" ON "invoice_bar_invoices" ("contact_tax_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_contact_tax_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_contact_tax_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index'  (0.2ms) CREATE INDEX "index_invoice_bar_invoices_on_payment_identification_number" ON "invoice_bar_invoices" ("payment_identification_number") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120902"]]  (99.7ms) commit transaction Migrating to CreateInvoiceBarAccounts (20160806120903)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120903_create_invoice_bar_accounts.invoice_bar.rb:13)  (0.7ms) CREATE TABLE "invoice_bar_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "user_id" integer NOT NULL, "bank_account_number" varchar, "iban" varchar, "swift" varchar, "amount" integer DEFAULT 0 NOT NULL, "currency_id" integer DEFAULT 1 NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE INDEX "index_invoice_bar_accounts_on_name" ON "invoice_bar_accounts" ("name") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120903"]]  (110.4ms) commit transaction Migrating to CreateInvoiceBarItems (20160806120904)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120904_create_invoice_bar_items.invoice_bar.rb:13)  (0.6ms) CREATE TABLE "invoice_bar_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "price" integer NOT NULL, "unit" varchar, "number" integer, "amount" integer NOT NULL, "itemable_id" integer NOT NULL, "itemable_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_invoice_bar_items_on_name" ON "invoice_bar_items" ("name") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120904"]]  (111.5ms) commit transaction Migrating to CreateInvoiceBarCurrencies (20160806120905)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "invoice_bar_currencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "symbol" varchar NOT NULL, "priority" integer DEFAULT 1 NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120905"]]  (87.2ms) commit transaction Migrating to CreateInvoiceBarContacts (20160806120906)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120906_create_invoice_bar_contacts.invoice_bar.rb:14)  (0.7ms) CREATE TABLE "invoice_bar_contacts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "email" varchar, "phone" varchar, "web" varchar, "bank_account" varchar, "tax_id" integer, "tax_id2" varchar, "user_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE INDEX "index_invoice_bar_contacts_on_name" ON "invoice_bar_contacts" ("name")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_contacts_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_contacts_on_name' AND type='index'   (0.3ms) CREATE INDEX "index_invoice_bar_contacts_on_tax_id" ON "invoice_bar_contacts" ("tax_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120906"]]  (92.8ms) commit transaction Migrating to CreateInvoiceBarUsers (20160806120907)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120907_create_invoice_bar_users.invoice_bar.rb:19)  (0.7ms) CREATE TABLE "invoice_bar_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "crypted_password" varchar, "salt" varchar, "remember_me_token" varchar, "remember_me_token_expires_at" datetime, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "name" varchar NOT NULL, "phone" varchar, "web" varchar, "tax_id" integer NOT NULL, "administrator" boolean, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE INDEX "index_invoice_bar_users_on_reset_password_token" ON "invoice_bar_users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_users_on_reset_password_token' AND type='index'  (0.2ms) CREATE INDEX "index_invoice_bar_users_on_remember_me_token" ON "invoice_bar_users" ("remember_me_token") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120907"]]  (101.5ms) commit transaction Migrating to CreateInvoiceBarReceipts (20160806120908)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120908_create_invoice_bar_receipts.invoice_bar.rb:15)  (0.7ms) CREATE TABLE "invoice_bar_receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar NOT NULL, "issue_date" date NOT NULL, "contact_name" varchar NOT NULL, "contact_tax_id" integer, "contact_tax_id2" varchar, "user_id" integer NOT NULL, "account_id" integer NOT NULL, "amount" integer NOT NULL, "issuer" boolean DEFAULT 't' NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) CREATE INDEX "index_invoice_bar_receipts_on_number" ON "invoice_bar_receipts" ("number")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index'   (0.3ms) CREATE INDEX "index_invoice_bar_receipts_on_contact_name" ON "invoice_bar_receipts" ("contact_name")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_contact_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_contact_name' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index'  (0.3ms) CREATE INDEX "index_invoice_bar_receipts_on_contact_tax_id" ON "invoice_bar_receipts" ("contact_tax_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120908"]]  (90.7ms) commit transaction Migrating to CreateInvoiceBarReceiptTemplates (20160806120909)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /home/strzibny/projects/invoicebar/test/dummy/db/migrate/20160806120909_create_invoice_bar_receipt_templates.invoice_bar.rb:14)  (0.5ms) CREATE TABLE "invoice_bar_receipt_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "issue_date" date, "contact_name" varchar, "contact_tax_id" integer, "contact_tax_id2" varchar, "user_id" integer, "account_id" integer, "amount" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE INDEX "index_invoice_bar_receipt_templates_on_name" ON "invoice_bar_receipt_templates" ("name") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120909"]]  (87.3ms) commit transaction Migrating to AddRefFieldsDirectlyToInvoices (20160806120910)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "invoice_bar_invoices" ADD "user_name" varchar  (0.3ms) ALTER TABLE "invoice_bar_invoices" ADD "user_tax_id" integer  (0.3ms) ALTER TABLE "invoice_bar_invoices" ADD "user_tax_id2" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120910"]]  (105.1ms) commit transaction Migrating to AddRefFieldsDirectlyToReceipts (20160806120911)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "invoice_bar_receipts" ADD "user_name" varchar  (0.3ms) ALTER TABLE "invoice_bar_receipts" ADD "user_tax_id" integer  (0.3ms) ALTER TABLE "invoice_bar_receipts" ADD "user_tax_id2" varchar SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120911"]]  (67.9ms) commit transaction Migrating to AddNoteToDocuments (20160806120912)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "invoice_bar_invoices" ADD "note" text  (0.3ms) ALTER TABLE "invoice_bar_receipts" ADD "note" text  (0.3ms) ALTER TABLE "invoice_bar_invoice_templates" ADD "note" text  (0.3ms) ALTER TABLE "invoice_bar_receipt_templates" ADD "note" text SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160806120912"]]  (89.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_accounts_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_accounts_on_name' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_contacts_on_tax_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_contacts_on_tax_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_contacts_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_contacts_on_name' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoice_templates_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoice_templates_on_name' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_payment_identification_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_payment_identification_number' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_contact_tax_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_contact_tax_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_contact_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_invoices_on_number' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_items_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_items_on_name' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipt_templates_on_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipt_templates_on_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_contact_tax_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_contact_tax_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_contact_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_contact_name' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_receipts_on_number' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_users_on_remember_me_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_users_on_remember_me_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_invoice_bar_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_invoice_bar_users_on_reset_password_token' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'Česká koruna' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'Kč' LIMIT 1 SQL (0.2ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "Česká koruna"], ["symbol", "Kč"], ["priority", 4]]  (85.5ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.3ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'Euro' LIMIT 1 InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = '€' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "Euro"], ["symbol", "€"], ["priority", 3]]  (69.6ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.3ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'Americký dolar' LIMIT 1 InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'US$' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "Americký dolar"], ["symbol", "US$"], ["priority", 2]]  (69.6ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'Polský zlotý' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'zł' LIMIT 1 SQL (0.4ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol") VALUES (?, ?) [["name", "Polský zlotý"], ["symbol", "zł"]]  (69.9ms) commit transaction  (0.1ms) begin transaction InvoiceBar::User Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_users" WHERE "invoice_bar_users"."email" = 'admin@admin.cz' LIMIT 1 SQL (0.2ms) INSERT INTO "invoice_bar_users" ("name", "email", "tax_id", "administrator", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "admin"], ["email", "admin@admin.cz"], ["tax_id", 123456], ["administrator", "t"], ["salt", "8Vuy4A7Vehn8zR56q9P8"], ["crypted_password", "$2a$10$GBvFVYFNYCwD.9yOn4PdJO4wLfRaGnvVk9gRulp1SFYiHCKFA3g/C"], ["created_at", "2016-08-06 12:09:57.966725"], ["updated_at", "2016-08-06 12:09:57.966725"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "postcode", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["street", "Ulice"], ["street_number", "1"], ["city", "Mesto"], ["postcode", "74727"], ["addressable_type", "InvoiceBar::User"], ["addressable_id", 1], ["created_at", "2016-08-06 12:09:57.968108"], ["updated_at", "2016-08-06 12:09:57.968108"]]  (82.5ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.3ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc1' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k1' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc1"], ["symbol", "k1"], ["priority", 0]]  (78.2ms) commit transaction  (0.2ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 1"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 1"], ["amount", 36578], ["currency_id", 5], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.209695"], ["updated_at", "2016-08-06 12:09:58.209695"]]  (81.8ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc2' LIMIT 1 InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k2' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc2"], ["symbol", "k2"], ["priority", 0]]  (68.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 2"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 2"], ["amount", 1513], ["currency_id", 6], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.372033"], ["updated_at", "2016-08-06 12:09:58.372033"]]  (66.9ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.3ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc3' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k3' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc3"], ["symbol", "k3"], ["priority", 0]]  (79.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 3"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 3"], ["amount", 25764], ["currency_id", 7], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.530921"], ["updated_at", "2016-08-06 12:09:58.530921"]]  (68.7ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc4' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k4' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc4"], ["symbol", "k4"], ["priority", 0]]  (69.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 4"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 4"], ["amount", 36479], ["currency_id", 8], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.680719"], ["updated_at", "2016-08-06 12:09:58.680719"]]  (68.9ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc5' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k5' LIMIT 1 SQL (0.2ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc5"], ["symbol", "k5"], ["priority", 0]]  (69.6ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 5"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 5"], ["amount", 6527], ["currency_id", 9], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.829701"], ["updated_at", "2016-08-06 12:09:58.829701"]]  (70.5ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc6' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k6' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc6"], ["symbol", "k6"], ["priority", 0]]  (69.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 6"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 6"], ["amount", 20259], ["currency_id", 10], ["user_id", 1], ["created_at", "2016-08-06 12:09:58.980398"], ["updated_at", "2016-08-06 12:09:58.980398"]]  (69.5ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc7' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k7' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc7"], ["symbol", "k7"], ["priority", 0]]  (60.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 7"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 7"], ["amount", 18542], ["currency_id", 11], ["user_id", 1], ["created_at", "2016-08-06 12:09:59.121301"], ["updated_at", "2016-08-06 12:09:59.121301"]]  (62.4ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc8' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k8' LIMIT 1 SQL (0.2ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc8"], ["symbol", "k8"], ["priority", 0]]  (60.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 8"], ["user_id", 1]] SQL (0.2ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 8"], ["amount", 11222], ["currency_id", 12], ["user_id", 1], ["created_at", "2016-08-06 12:09:59.254739"], ["updated_at", "2016-08-06 12:09:59.254739"]]  (62.3ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc9' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k9' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc9"], ["symbol", "k9"], ["priority", 0]]  (60.0ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 9"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 9"], ["amount", 3582], ["currency_id", 13], ["user_id", 1], ["created_at", "2016-08-06 12:09:59.389159"], ["updated_at", "2016-08-06 12:09:59.389159"]]  (60.3ms) commit transaction  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."name" = 'kc10' LIMIT 1 InvoiceBar::Currency Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."symbol" = 'k10' LIMIT 1 SQL (0.3ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "kc10"], ["symbol", "k10"], ["priority", 0]]  (61.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."name" = ? AND "invoice_bar_accounts"."user_id" = ? [["name", "Name 10"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_accounts" ("name", "amount", "currency_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Name 10"], ["amount", 1168], ["currency_id", 14], ["user_id", 1], ["created_at", "2016-08-06 12:09:59.521380"], ["updated_at", "2016-08-06 12:09:59.521380"]]  (76.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001121"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:09:59.643964"], ["updated_at", "2016-08-06 12:09:59.643964"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:09:59.645849"], ["updated_at", "2016-08-06 12:09:59.645849"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 1], ["created_at", "2016-08-06 12:09:59.647428"], ["updated_at", "2016-08-06 12:09:59.647428"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 1], ["created_at", "2016-08-06 12:09:59.648978"], ["updated_at", "2016-08-06 12:09:59.648978"]]  (82.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001122"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001122"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:09:59.744079"], ["updated_at", "2016-08-06 12:09:59.744079"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 2], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:09:59.746655"], ["updated_at", "2016-08-06 12:09:59.746655"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 2], ["created_at", "2016-08-06 12:09:59.748959"], ["updated_at", "2016-08-06 12:09:59.748959"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 2], ["created_at", "2016-08-06 12:09:59.751273"], ["updated_at", "2016-08-06 12:09:59.751273"]]  (73.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001123"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001123"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:09:59.838553"], ["updated_at", "2016-08-06 12:09:59.838553"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 3], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:09:59.841166"], ["updated_at", "2016-08-06 12:09:59.841166"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 3], ["created_at", "2016-08-06 12:09:59.843485"], ["updated_at", "2016-08-06 12:09:59.843485"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 3], ["created_at", "2016-08-06 12:09:59.845854"], ["updated_at", "2016-08-06 12:09:59.845854"]]  (75.9ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001124"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001124"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:09:59.935501"], ["updated_at", "2016-08-06 12:09:59.935501"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 4], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:09:59.938084"], ["updated_at", "2016-08-06 12:09:59.938084"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 4], ["created_at", "2016-08-06 12:09:59.940347"], ["updated_at", "2016-08-06 12:09:59.940347"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 4], ["created_at", "2016-08-06 12:09:59.942590"], ["updated_at", "2016-08-06 12:09:59.942590"]]  (101.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001125"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001125"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.058280"], ["updated_at", "2016-08-06 12:10:00.058280"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 5], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.061057"], ["updated_at", "2016-08-06 12:10:00.061057"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 5], ["created_at", "2016-08-06 12:10:00.063330"], ["updated_at", "2016-08-06 12:10:00.063330"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 5], ["created_at", "2016-08-06 12:10:00.065582"], ["updated_at", "2016-08-06 12:10:00.065582"]]  (81.1ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001126"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001126"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.159192"], ["updated_at", "2016-08-06 12:10:00.159192"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 6], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.161677"], ["updated_at", "2016-08-06 12:10:00.161677"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 6], ["created_at", "2016-08-06 12:10:00.163816"], ["updated_at", "2016-08-06 12:10:00.163816"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 6], ["created_at", "2016-08-06 12:10:00.165897"], ["updated_at", "2016-08-06 12:10:00.165897"]]  (81.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001127"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001127"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.260713"], ["updated_at", "2016-08-06 12:10:00.260713"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 7], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.263404"], ["updated_at", "2016-08-06 12:10:00.263404"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 7], ["created_at", "2016-08-06 12:10:00.273261"], ["updated_at", "2016-08-06 12:10:00.273261"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 7], ["created_at", "2016-08-06 12:10:00.275685"], ["updated_at", "2016-08-06 12:10:00.275685"]]  (79.5ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001128"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001128"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.368345"], ["updated_at", "2016-08-06 12:10:00.368345"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 8], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.370818"], ["updated_at", "2016-08-06 12:10:00.370818"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 8], ["created_at", "2016-08-06 12:10:00.373076"], ["updated_at", "2016-08-06 12:10:00.373076"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 8], ["created_at", "2016-08-06 12:10:00.375184"], ["updated_at", "2016-08-06 12:10:00.375184"]]  (106.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001129"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "201001129"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.494960"], ["updated_at", "2016-08-06 12:10:00.494960"]] SQL (0.3ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 9], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.497679"], ["updated_at", "2016-08-06 12:10:00.497679"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 9], ["created_at", "2016-08-06 12:10:00.501164"], ["updated_at", "2016-08-06 12:10:00.501164"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 9], ["created_at", "2016-08-06 12:10:00.505290"], ["updated_at", "2016-08-06 12:10:00.505290"]]  (99.7ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011210"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011210"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.620561"], ["updated_at", "2016-08-06 12:10:00.620561"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 10], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.623189"], ["updated_at", "2016-08-06 12:10:00.623189"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 10], ["created_at", "2016-08-06 12:10:00.625461"], ["updated_at", "2016-08-06 12:10:00.625461"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 10], ["created_at", "2016-08-06 12:10:00.627677"], ["updated_at", "2016-08-06 12:10:00.627677"]]  (88.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011211"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011211"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.729676"], ["updated_at", "2016-08-06 12:10:00.729676"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 11], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.732200"], ["updated_at", "2016-08-06 12:10:00.732200"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 11], ["created_at", "2016-08-06 12:10:00.734502"], ["updated_at", "2016-08-06 12:10:00.734502"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 11], ["created_at", "2016-08-06 12:10:00.736801"], ["updated_at", "2016-08-06 12:10:00.736801"]]  (87.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011212"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011212"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.837717"], ["updated_at", "2016-08-06 12:10:00.837717"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 12], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.840331"], ["updated_at", "2016-08-06 12:10:00.840331"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 12], ["created_at", "2016-08-06 12:10:00.842466"], ["updated_at", "2016-08-06 12:10:00.842466"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 12], ["created_at", "2016-08-06 12:10:00.844576"], ["updated_at", "2016-08-06 12:10:00.844576"]]  (114.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011213"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011213"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:00.970192"], ["updated_at", "2016-08-06 12:10:00.970192"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 13], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:00.972493"], ["updated_at", "2016-08-06 12:10:00.972493"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 13], ["created_at", "2016-08-06 12:10:00.974456"], ["updated_at", "2016-08-06 12:10:00.974456"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 13], ["created_at", "2016-08-06 12:10:00.976267"], ["updated_at", "2016-08-06 12:10:00.976267"]]  (81.8ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011214"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011214"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.071329"], ["updated_at", "2016-08-06 12:10:01.071329"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 14], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.074046"], ["updated_at", "2016-08-06 12:10:01.074046"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 14], ["created_at", "2016-08-06 12:10:01.076406"], ["updated_at", "2016-08-06 12:10:01.076406"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 14], ["created_at", "2016-08-06 12:10:01.078667"], ["updated_at", "2016-08-06 12:10:01.078667"]]  (79.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011215"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011215"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.169041"], ["updated_at", "2016-08-06 12:10:01.169041"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 15], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.171110"], ["updated_at", "2016-08-06 12:10:01.171110"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 15], ["created_at", "2016-08-06 12:10:01.173394"], ["updated_at", "2016-08-06 12:10:01.173394"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 15], ["created_at", "2016-08-06 12:10:01.175237"], ["updated_at", "2016-08-06 12:10:01.175237"]]  (72.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011216"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011216"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.260485"], ["updated_at", "2016-08-06 12:10:01.260485"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 16], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.263074"], ["updated_at", "2016-08-06 12:10:01.263074"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 16], ["created_at", "2016-08-06 12:10:01.265334"], ["updated_at", "2016-08-06 12:10:01.265334"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 16], ["created_at", "2016-08-06 12:10:01.267614"], ["updated_at", "2016-08-06 12:10:01.267614"]]  (101.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011217"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011217"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.382861"], ["updated_at", "2016-08-06 12:10:01.382861"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 17], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.385657"], ["updated_at", "2016-08-06 12:10:01.385657"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 17], ["created_at", "2016-08-06 12:10:01.388224"], ["updated_at", "2016-08-06 12:10:01.388224"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 17], ["created_at", "2016-08-06 12:10:01.390852"], ["updated_at", "2016-08-06 12:10:01.390852"]]  (75.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011218"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011218"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.479565"], ["updated_at", "2016-08-06 12:10:01.479565"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 18], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.482200"], ["updated_at", "2016-08-06 12:10:01.482200"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 18], ["created_at", "2016-08-06 12:10:01.484856"], ["updated_at", "2016-08-06 12:10:01.484856"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 18], ["created_at", "2016-08-06 12:10:01.487221"], ["updated_at", "2016-08-06 12:10:01.487221"]]  (78.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011219"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011219"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.579654"], ["updated_at", "2016-08-06 12:10:01.579654"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 19], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.582251"], ["updated_at", "2016-08-06 12:10:01.582251"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 19], ["created_at", "2016-08-06 12:10:01.584464"], ["updated_at", "2016-08-06 12:10:01.584464"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 19], ["created_at", "2016-08-06 12:10:01.586651"], ["updated_at", "2016-08-06 12:10:01.586651"]]  (79.5ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011220"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011220"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.679653"], ["updated_at", "2016-08-06 12:10:01.679653"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 20], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.682260"], ["updated_at", "2016-08-06 12:10:01.682260"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 20], ["created_at", "2016-08-06 12:10:01.684526"], ["updated_at", "2016-08-06 12:10:01.684526"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 20], ["created_at", "2016-08-06 12:10:01.686759"], ["updated_at", "2016-08-06 12:10:01.686759"]]  (101.3ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011221"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011221"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.801689"], ["updated_at", "2016-08-06 12:10:01.801689"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 21], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.804252"], ["updated_at", "2016-08-06 12:10:01.804252"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 21], ["created_at", "2016-08-06 12:10:01.806351"], ["updated_at", "2016-08-06 12:10:01.806351"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 21], ["created_at", "2016-08-06 12:10:01.808220"], ["updated_at", "2016-08-06 12:10:01.808220"]]  (107.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011222"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011222"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:01.928798"], ["updated_at", "2016-08-06 12:10:01.928798"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 22], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:01.931427"], ["updated_at", "2016-08-06 12:10:01.931427"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 22], ["created_at", "2016-08-06 12:10:01.933760"], ["updated_at", "2016-08-06 12:10:01.933760"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 22], ["created_at", "2016-08-06 12:10:01.936001"], ["updated_at", "2016-08-06 12:10:01.936001"]]  (88.4ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011223"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011223"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.038322"], ["updated_at", "2016-08-06 12:10:02.038322"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 23], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.041471"], ["updated_at", "2016-08-06 12:10:02.041471"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 23], ["created_at", "2016-08-06 12:10:02.043772"], ["updated_at", "2016-08-06 12:10:02.043772"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 23], ["created_at", "2016-08-06 12:10:02.046022"], ["updated_at", "2016-08-06 12:10:02.046022"]]  (95.2ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011224"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011224"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.155112"], ["updated_at", "2016-08-06 12:10:02.155112"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 24], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.157848"], ["updated_at", "2016-08-06 12:10:02.157848"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 24], ["created_at", "2016-08-06 12:10:02.160174"], ["updated_at", "2016-08-06 12:10:02.160174"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 24], ["created_at", "2016-08-06 12:10:02.168678"], ["updated_at", "2016-08-06 12:10:02.168678"]]  (97.9ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011225"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011225"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.281023"], ["updated_at", "2016-08-06 12:10:02.281023"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 25], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.283816"], ["updated_at", "2016-08-06 12:10:02.283816"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 25], ["created_at", "2016-08-06 12:10:02.286151"], ["updated_at", "2016-08-06 12:10:02.286151"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 25], ["created_at", "2016-08-06 12:10:02.288452"], ["updated_at", "2016-08-06 12:10:02.288452"]]  (77.3ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011226"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011226"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.377522"], ["updated_at", "2016-08-06 12:10:02.377522"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 26], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.379684"], ["updated_at", "2016-08-06 12:10:02.379684"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 26], ["created_at", "2016-08-06 12:10:02.381743"], ["updated_at", "2016-08-06 12:10:02.381743"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 26], ["created_at", "2016-08-06 12:10:02.383552"], ["updated_at", "2016-08-06 12:10:02.383552"]]  (74.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011227"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011227"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.468889"], ["updated_at", "2016-08-06 12:10:02.468889"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 27], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.471054"], ["updated_at", "2016-08-06 12:10:02.471054"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 27], ["created_at", "2016-08-06 12:10:02.472944"], ["updated_at", "2016-08-06 12:10:02.472944"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 27], ["created_at", "2016-08-06 12:10:02.474782"], ["updated_at", "2016-08-06 12:10:02.474782"]]  (76.1ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011228"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011228"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.562580"], ["updated_at", "2016-08-06 12:10:02.562580"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 28], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.565012"], ["updated_at", "2016-08-06 12:10:02.565012"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 28], ["created_at", "2016-08-06 12:10:02.567027"], ["updated_at", "2016-08-06 12:10:02.567027"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 28], ["created_at", "2016-08-06 12:10:02.568881"], ["updated_at", "2016-08-06 12:10:02.568881"]]  (91.8ms) commit transaction  (0.2ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011229"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011229"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.672573"], ["updated_at", "2016-08-06 12:10:02.672573"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 29], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.674910"], ["updated_at", "2016-08-06 12:10:02.674910"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 29], ["created_at", "2016-08-06 12:10:02.676929"], ["updated_at", "2016-08-06 12:10:02.676929"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 29], ["created_at", "2016-08-06 12:10:02.678802"], ["updated_at", "2016-08-06 12:10:02.678802"]]  (70.8ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011230"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoices" ("number", "issue_date", "due_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011230"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.762803"], ["updated_at", "2016-08-06 12:10:02.762803"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 30], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-08-06 12:10:02.765480"], ["updated_at", "2016-08-06 12:10:02.765480"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 30], ["created_at", "2016-08-06 12:10:02.767712"], ["updated_at", "2016-08-06 12:10:02.767712"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 30], ["created_at", "2016-08-06 12:10:02.769810"], ["updated_at", "2016-08-06 12:10:02.769810"]]  (83.6ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", "Name 1"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_invoice_templates" ("name", "issue_date", "due_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 1"], ["issue_date", "2016-08-05"], ["due_date", "2016-09-02"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:02.888525"], ["updated_at", "2016-08-06 12:10:02.888525"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"], ["created_at", "2016-08-06 12:10:02.891249"], ["updated_at", "2016-08-06 12:10:02.891249"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::InvoiceTemplate"], ["addressable_id", 1], ["created_at", "2016-08-06 12:10:02.893417"], ["updated_at", "2016-08-06 12:10:02.893417"]]  (93.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", "Name 2"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_invoice_templates" ("name", "issue_date", "due_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 2"], ["issue_date", "2016-08-05"], ["due_date", "2016-09-02"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.001786"], ["updated_at", "2016-08-06 12:10:03.001786"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 2], ["itemable_type", "InvoiceBar::InvoiceTemplate"], ["created_at", "2016-08-06 12:10:03.004621"], ["updated_at", "2016-08-06 12:10:03.004621"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::InvoiceTemplate"], ["addressable_id", 2], ["created_at", "2016-08-06 12:10:03.007170"], ["updated_at", "2016-08-06 12:10:03.007170"]]  (84.0ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", "Name 3"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_invoice_templates" ("name", "issue_date", "due_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 3"], ["issue_date", "2016-08-05"], ["due_date", "2016-09-02"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.107524"], ["updated_at", "2016-08-06 12:10:03.107524"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 3], ["itemable_type", "InvoiceBar::InvoiceTemplate"], ["created_at", "2016-08-06 12:10:03.110522"], ["updated_at", "2016-08-06 12:10:03.110522"]] SQL (1.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::InvoiceTemplate"], ["addressable_id", 3], ["created_at", "2016-08-06 12:10:03.113674"], ["updated_at", "2016-08-06 12:10:03.113674"]]  (72.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011231"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011231"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.239745"], ["updated_at", "2016-08-06 12:10:03.239745"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.242741"], ["updated_at", "2016-08-06 12:10:03.242741"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 1], ["created_at", "2016-08-06 12:10:03.245333"], ["updated_at", "2016-08-06 12:10:03.245333"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 1], ["created_at", "2016-08-06 12:10:03.247832"], ["updated_at", "2016-08-06 12:10:03.247832"]]  (107.0ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011232"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011232"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.372606"], ["updated_at", "2016-08-06 12:10:03.372606"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 2], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.376136"], ["updated_at", "2016-08-06 12:10:03.376136"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 2], ["created_at", "2016-08-06 12:10:03.379893"], ["updated_at", "2016-08-06 12:10:03.379893"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 2], ["created_at", "2016-08-06 12:10:03.382341"], ["updated_at", "2016-08-06 12:10:03.382341"]]  (87.2ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011233"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011233"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.485274"], ["updated_at", "2016-08-06 12:10:03.485274"]] SQL (0.5ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 3], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.488260"], ["updated_at", "2016-08-06 12:10:03.488260"]] SQL (0.5ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 3], ["created_at", "2016-08-06 12:10:03.490701"], ["updated_at", "2016-08-06 12:10:03.490701"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 3], ["created_at", "2016-08-06 12:10:03.493073"], ["updated_at", "2016-08-06 12:10:03.493073"]]  (85.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011234"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011234"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.593794"], ["updated_at", "2016-08-06 12:10:03.593794"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 4], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.596533"], ["updated_at", "2016-08-06 12:10:03.596533"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 4], ["created_at", "2016-08-06 12:10:03.599071"], ["updated_at", "2016-08-06 12:10:03.599071"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 4], ["created_at", "2016-08-06 12:10:03.602034"], ["updated_at", "2016-08-06 12:10:03.602034"]]  (73.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011235"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011235"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.693029"], ["updated_at", "2016-08-06 12:10:03.693029"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 5], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.696168"], ["updated_at", "2016-08-06 12:10:03.696168"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 5], ["created_at", "2016-08-06 12:10:03.699923"], ["updated_at", "2016-08-06 12:10:03.699923"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 5], ["created_at", "2016-08-06 12:10:03.702862"], ["updated_at", "2016-08-06 12:10:03.702862"]]  (96.9ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011236"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011236"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.832469"], ["updated_at", "2016-08-06 12:10:03.832469"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 6], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.835118"], ["updated_at", "2016-08-06 12:10:03.835118"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 6], ["created_at", "2016-08-06 12:10:03.837272"], ["updated_at", "2016-08-06 12:10:03.837272"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 6], ["created_at", "2016-08-06 12:10:03.839201"], ["updated_at", "2016-08-06 12:10:03.839201"]]  (69.8ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011237"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011237"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:03.921745"], ["updated_at", "2016-08-06 12:10:03.921745"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 7], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:03.924462"], ["updated_at", "2016-08-06 12:10:03.924462"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 7], ["created_at", "2016-08-06 12:10:03.926823"], ["updated_at", "2016-08-06 12:10:03.926823"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 7], ["created_at", "2016-08-06 12:10:03.929398"], ["updated_at", "2016-08-06 12:10:03.929398"]]  (70.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011238"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011238"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.012513"], ["updated_at", "2016-08-06 12:10:04.012513"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 8], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.014930"], ["updated_at", "2016-08-06 12:10:04.014930"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 8], ["created_at", "2016-08-06 12:10:04.017073"], ["updated_at", "2016-08-06 12:10:04.017073"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 8], ["created_at", "2016-08-06 12:10:04.019114"], ["updated_at", "2016-08-06 12:10:04.019114"]]  (108.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011239"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011239"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.142848"], ["updated_at", "2016-08-06 12:10:04.142848"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 9], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.145198"], ["updated_at", "2016-08-06 12:10:04.145198"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 9], ["created_at", "2016-08-06 12:10:04.147462"], ["updated_at", "2016-08-06 12:10:04.147462"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 9], ["created_at", "2016-08-06 12:10:04.149398"], ["updated_at", "2016-08-06 12:10:04.149398"]]  (95.5ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011240"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011240"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.256986"], ["updated_at", "2016-08-06 12:10:04.256986"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 10], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.259395"], ["updated_at", "2016-08-06 12:10:04.259395"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 10], ["created_at", "2016-08-06 12:10:04.261527"], ["updated_at", "2016-08-06 12:10:04.261527"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 10], ["created_at", "2016-08-06 12:10:04.263572"], ["updated_at", "2016-08-06 12:10:04.263572"]]  (99.0ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011241"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011241"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.372798"], ["updated_at", "2016-08-06 12:10:04.372798"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 11], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.374772"], ["updated_at", "2016-08-06 12:10:04.374772"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 11], ["created_at", "2016-08-06 12:10:04.376538"], ["updated_at", "2016-08-06 12:10:04.376538"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 11], ["created_at", "2016-08-06 12:10:04.378304"], ["updated_at", "2016-08-06 12:10:04.378304"]]  (76.5ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011242"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011242"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.466566"], ["updated_at", "2016-08-06 12:10:04.466566"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 12], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.469340"], ["updated_at", "2016-08-06 12:10:04.469340"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 12], ["created_at", "2016-08-06 12:10:04.471537"], ["updated_at", "2016-08-06 12:10:04.471537"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 12], ["created_at", "2016-08-06 12:10:04.473592"], ["updated_at", "2016-08-06 12:10:04.473592"]]  (72.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011243"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011243"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.556320"], ["updated_at", "2016-08-06 12:10:04.556320"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 13], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.558196"], ["updated_at", "2016-08-06 12:10:04.558196"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 13], ["created_at", "2016-08-06 12:10:04.559946"], ["updated_at", "2016-08-06 12:10:04.559946"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 13], ["created_at", "2016-08-06 12:10:04.561776"], ["updated_at", "2016-08-06 12:10:04.561776"]]  (102.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011244"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011244"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.675967"], ["updated_at", "2016-08-06 12:10:04.675967"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 14], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.678383"], ["updated_at", "2016-08-06 12:10:04.678383"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 14], ["created_at", "2016-08-06 12:10:04.680548"], ["updated_at", "2016-08-06 12:10:04.680548"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 14], ["created_at", "2016-08-06 12:10:04.682580"], ["updated_at", "2016-08-06 12:10:04.682580"]]  (79.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011245"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011245"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.772640"], ["updated_at", "2016-08-06 12:10:04.772640"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 15], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.774456"], ["updated_at", "2016-08-06 12:10:04.774456"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 15], ["created_at", "2016-08-06 12:10:04.776377"], ["updated_at", "2016-08-06 12:10:04.776377"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 15], ["created_at", "2016-08-06 12:10:04.778278"], ["updated_at", "2016-08-06 12:10:04.778278"]]  (84.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011246"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011246"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.875685"], ["updated_at", "2016-08-06 12:10:04.875685"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 16], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.878961"], ["updated_at", "2016-08-06 12:10:04.878961"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 16], ["created_at", "2016-08-06 12:10:04.881208"], ["updated_at", "2016-08-06 12:10:04.881208"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 16], ["created_at", "2016-08-06 12:10:04.883410"], ["updated_at", "2016-08-06 12:10:04.883410"]]  (79.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011247"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011247"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:04.975043"], ["updated_at", "2016-08-06 12:10:04.975043"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 17], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:04.977954"], ["updated_at", "2016-08-06 12:10:04.977954"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 17], ["created_at", "2016-08-06 12:10:04.980153"], ["updated_at", "2016-08-06 12:10:04.980153"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 17], ["created_at", "2016-08-06 12:10:04.982243"], ["updated_at", "2016-08-06 12:10:04.982243"]]  (92.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011248"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011248"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.087155"], ["updated_at", "2016-08-06 12:10:05.087155"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 18], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.089755"], ["updated_at", "2016-08-06 12:10:05.089755"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 18], ["created_at", "2016-08-06 12:10:05.092024"], ["updated_at", "2016-08-06 12:10:05.092024"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 18], ["created_at", "2016-08-06 12:10:05.094212"], ["updated_at", "2016-08-06 12:10:05.094212"]]  (123.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011249"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011249"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.232670"], ["updated_at", "2016-08-06 12:10:05.232670"]] SQL (0.3ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 19], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.236643"], ["updated_at", "2016-08-06 12:10:05.236643"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 19], ["created_at", "2016-08-06 12:10:05.239848"], ["updated_at", "2016-08-06 12:10:05.239848"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 19], ["created_at", "2016-08-06 12:10:05.241838"], ["updated_at", "2016-08-06 12:10:05.241838"]]  (118.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011250"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011250"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.371304"], ["updated_at", "2016-08-06 12:10:05.371304"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 20], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.373479"], ["updated_at", "2016-08-06 12:10:05.373479"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 20], ["created_at", "2016-08-06 12:10:05.375364"], ["updated_at", "2016-08-06 12:10:05.375364"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 20], ["created_at", "2016-08-06 12:10:05.377222"], ["updated_at", "2016-08-06 12:10:05.377222"]]  (86.9ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011251"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011251"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.476758"], ["updated_at", "2016-08-06 12:10:05.476758"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 21], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.479974"], ["updated_at", "2016-08-06 12:10:05.479974"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 21], ["created_at", "2016-08-06 12:10:05.482254"], ["updated_at", "2016-08-06 12:10:05.482254"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 21], ["created_at", "2016-08-06 12:10:05.484789"], ["updated_at", "2016-08-06 12:10:05.484789"]]  (118.1ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011252"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011252"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.616161"], ["updated_at", "2016-08-06 12:10:05.616161"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 22], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.618793"], ["updated_at", "2016-08-06 12:10:05.618793"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 22], ["created_at", "2016-08-06 12:10:05.621045"], ["updated_at", "2016-08-06 12:10:05.621045"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 22], ["created_at", "2016-08-06 12:10:05.623261"], ["updated_at", "2016-08-06 12:10:05.623261"]]  (90.4ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011253"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011253"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.726764"], ["updated_at", "2016-08-06 12:10:05.726764"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 23], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.729325"], ["updated_at", "2016-08-06 12:10:05.729325"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 23], ["created_at", "2016-08-06 12:10:05.731908"], ["updated_at", "2016-08-06 12:10:05.731908"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 23], ["created_at", "2016-08-06 12:10:05.735972"], ["updated_at", "2016-08-06 12:10:05.735972"]]  (92.5ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011254"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011254"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.847088"], ["updated_at", "2016-08-06 12:10:05.847088"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 24], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.849388"], ["updated_at", "2016-08-06 12:10:05.849388"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 24], ["created_at", "2016-08-06 12:10:05.851344"], ["updated_at", "2016-08-06 12:10:05.851344"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 24], ["created_at", "2016-08-06 12:10:05.853335"], ["updated_at", "2016-08-06 12:10:05.853335"]]  (93.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011255"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011255"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:05.958015"], ["updated_at", "2016-08-06 12:10:05.958015"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 25], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:05.960064"], ["updated_at", "2016-08-06 12:10:05.960064"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 25], ["created_at", "2016-08-06 12:10:05.962476"], ["updated_at", "2016-08-06 12:10:05.962476"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 25], ["created_at", "2016-08-06 12:10:05.964306"], ["updated_at", "2016-08-06 12:10:05.964306"]]  (116.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011256"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011256"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.093243"], ["updated_at", "2016-08-06 12:10:06.093243"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 26], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:06.096508"], ["updated_at", "2016-08-06 12:10:06.096508"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 26], ["created_at", "2016-08-06 12:10:06.099169"], ["updated_at", "2016-08-06 12:10:06.099169"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 26], ["created_at", "2016-08-06 12:10:06.101554"], ["updated_at", "2016-08-06 12:10:06.101554"]]  (78.7ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011257"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011257"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.195445"], ["updated_at", "2016-08-06 12:10:06.195445"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 27], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:06.199456"], ["updated_at", "2016-08-06 12:10:06.199456"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 27], ["created_at", "2016-08-06 12:10:06.201952"], ["updated_at", "2016-08-06 12:10:06.201952"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 27], ["created_at", "2016-08-06 12:10:06.204044"], ["updated_at", "2016-08-06 12:10:06.204044"]]  (92.7ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011258"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011258"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.309872"], ["updated_at", "2016-08-06 12:10:06.309872"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 28], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:06.312461"], ["updated_at", "2016-08-06 12:10:06.312461"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 28], ["created_at", "2016-08-06 12:10:06.314720"], ["updated_at", "2016-08-06 12:10:06.314720"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 28], ["created_at", "2016-08-06 12:10:06.316929"], ["updated_at", "2016-08-06 12:10:06.316929"]]  (123.3ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011259"], ["user_id", 1]] SQL (0.4ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011259"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.453539"], ["updated_at", "2016-08-06 12:10:06.453539"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 29], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:06.455980"], ["updated_at", "2016-08-06 12:10:06.455980"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 29], ["created_at", "2016-08-06 12:10:06.458220"], ["updated_at", "2016-08-06 12:10:06.458220"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 29], ["created_at", "2016-08-06 12:10:06.460506"], ["updated_at", "2016-08-06 12:10:06.460506"]]  (113.6ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."number" = ? AND "invoice_bar_receipts"."user_id" = ? [["number", "2010011260"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipts" ("number", "issue_date", "user_name", "user_tax_id", "contact_name", "contact_tax_id", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "2010011260"], ["issue_date", "2016-08-06"], ["user_name", "Me"], ["user_tax_id", 102940], ["contact_name", "Company"], ["contact_tax_id", 102939], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.585425"], ["updated_at", "2016-08-06 12:10:06.585425"]] SQL (0.1ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 30], ["itemable_type", "InvoiceBar::Receipt"], ["created_at", "2016-08-06 12:10:06.587511"], ["updated_at", "2016-08-06 12:10:06.587511"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#contact_address"], ["addressable_id", 30], ["created_at", "2016-08-06 12:10:06.589398"], ["updated_at", "2016-08-06 12:10:06.589398"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Receipt#user_address"], ["addressable_id", 30], ["created_at", "2016-08-06 12:10:06.591452"], ["updated_at", "2016-08-06 12:10:06.591452"]]  (89.0ms) commit transaction  (0.1ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_receipt_templates" WHERE "invoice_bar_receipt_templates"."name" = ? AND "invoice_bar_receipt_templates"."user_id" = ? [["name", "Name 1"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_receipt_templates" ("name", "issue_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 1"], ["issue_date", "2016-08-05"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.709764"], ["updated_at", "2016-08-06 12:10:06.709764"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 1], ["itemable_type", "InvoiceBar::ReceiptTemplate"], ["created_at", "2016-08-06 12:10:06.712531"], ["updated_at", "2016-08-06 12:10:06.712531"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::ReceiptTemplate"], ["addressable_id", 1], ["created_at", "2016-08-06 12:10:06.715356"], ["updated_at", "2016-08-06 12:10:06.715356"]]  (96.9ms) commit transaction  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipt_templates" WHERE "invoice_bar_receipt_templates"."name" = ? AND "invoice_bar_receipt_templates"."user_id" = ? [["name", "Name 2"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipt_templates" ("name", "issue_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 2"], ["issue_date", "2016-08-05"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.824180"], ["updated_at", "2016-08-06 12:10:06.824180"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 2], ["itemable_type", "InvoiceBar::ReceiptTemplate"], ["created_at", "2016-08-06 12:10:06.826448"], ["updated_at", "2016-08-06 12:10:06.826448"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::ReceiptTemplate"], ["addressable_id", 2], ["created_at", "2016-08-06 12:10:06.829192"], ["updated_at", "2016-08-06 12:10:06.829192"]]  (101.1ms) commit transaction  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipt_templates" WHERE "invoice_bar_receipt_templates"."name" = ? AND "invoice_bar_receipt_templates"."user_id" = ? [["name", "Name 3"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_receipt_templates" ("name", "issue_date", "contact_name", "contact_tax_id", "contact_tax_id2", "amount", "user_id", "account_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "Name 3"], ["issue_date", "2016-08-05"], ["contact_name", "Company"], ["contact_tax_id", 1029392], ["contact_tax_id2", "CZ898989"], ["amount", 1000], ["user_id", 1], ["account_id", 1], ["created_at", "2016-08-06 12:10:06.941262"], ["updated_at", "2016-08-06 12:10:06.941262"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "amount", "itemable_id", "itemable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["amount", 1000], ["itemable_id", 3], ["itemable_type", "InvoiceBar::ReceiptTemplate"], ["created_at", "2016-08-06 12:10:06.943807"], ["updated_at", "2016-08-06 12:10:06.943807"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("city", "city_part", "postcode", "street", "street_number", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["street", "Street"], ["street_number", "28a"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::ReceiptTemplate"], ["addressable_id", 3], ["created_at", "2016-08-06 12:10:06.946775"], ["updated_at", "2016-08-06 12:10:06.946775"]]  (100.0ms) commit transaction Started GET "/invoice_bar/invoice_templates/new" for 127.0.0.1 at 2016-08-06 14:13:42 +0200 Processing by InvoiceBar::InvoiceTemplatesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (1.9ms)  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (3.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.7ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (17.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (100.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/new.html.erb within invoice_bar/layouts/signed_in (659.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (3160.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (3.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 3959ms (Views: 3831.9ms | ActiveRecord: 3.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:47 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:48 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:49 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:49 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:49 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:49 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:49 +0200 Started POST "/invoice_bar/invoice_templates" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Processing by InvoiceBar::InvoiceTemplatesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5nr4g12LmjVXSqWiHMJ5h09nNncTiB2FUPUHa8zeYUAEokj8iJlo4fpHjhkMDCui962LWEVatkDgx5je+DLTBA==", "invoice_template"=>{"name"=>"", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"", "due_date"=>"", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", ""], ["user_id", 1]]  (0.1ms) commit transaction  (0.0ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", ""], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (1.7ms)  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (20.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/new.html.erb within invoice_bar/layouts/signed_in (21.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 68ms (Views: 53.2ms | ActiveRecord: 1.0ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:51 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:13:52 +0200 Started POST "/invoice_bar/invoice_templates" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Processing by InvoiceBar::InvoiceTemplatesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SYKuf4yuJvlm9kPxHrutKKgXOPKeN/W/woQC3VmnVC2rWh4AWbzULcv7aEoOdf8NEN2F3cjlXnpytp1obUvmaQ==", "invoice_template"=>{"name"=>"", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"", "due_date"=>"", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"1"}}, "note"=>""}, "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", ""], ["user_id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", ""], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (1.3ms)  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/new.html.erb within invoice_bar/layouts/signed_in (18.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 65ms (Views: 49.7ms | ActiveRecord: 1.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:07 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:08 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (2.3ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.7ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (132.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 166ms (Views: 159.5ms | ActiveRecord: 2.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:15 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:16 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:17 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:17 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:14:17 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (41.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (43.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 72.2ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:18 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:19 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vEbCPr6cD3bshuBfHpPSOwdHnbjAgw8jSvwgRB2doTRennJBa479okGLy+QOXYAev40gl5ZRpOb6zr/xKXETcA==", "invoice"=>{"number"=>"VF2016080031", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"1"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080031", "issuer_false_hidden"=>"PF2016080001", "commit"=>"Uložit"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080031"], ["user_id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080031"], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (3.3ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.2ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (18.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 79ms (Views: 49.5ms | ActiveRecord: 1.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:24 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:25 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"xwK4wd2fH5QOHaLnu7DiGuq7UNoa/lg9cI8gze4pV5Ql2gi+CI3tQKMQiVyrfrA/UnHt9Uws8/jAvb942sXl0A==", "invoice"=>{"number"=>"VF2016080031", "issuer"=>"true", "contact_name"=>"ff", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"ff", "street_number"=>"33", "postcode"=>"333", "city"=>"ff", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "note"=>""}, "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080031"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_invoices" ("number", "contact_tax_id2", "contact_name", "issue_date", "due_date", "account_id", "user_id", "note", "user_name", "user_tax_id", "user_tax_id2", "amount", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "VF2016080031"], ["contact_tax_id2", ""], ["contact_name", "ff"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["account_id", 1], ["user_id", 1], ["note", ""], ["user_name", "admin"], ["user_tax_id", 123456], ["user_tax_id2", "123456"], ["amount", 0], ["created_at", "2016-08-06 12:14:33.246912"], ["updated_at", "2016-08-06 12:14:33.246912"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "ff"], ["street_number", "33"], ["city", "ff"], ["city_part", ""], ["postcode", "333"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 31], ["created_at", "2016-08-06 12:14:33.249096"], ["updated_at", "2016-08-06 12:14:33.249096"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "postcode", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["street", "Ulice"], ["street_number", "1"], ["city", "Mesto"], ["postcode", "74727"], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 31], ["created_at", "2016-08-06 12:14:33.251716"], ["updated_at", "2016-08-06 12:14:33.251716"]]  (125.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080031"], ["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080031"], ["user_id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080031 Completed 302 Found in 149ms (ActiveRecord: 127.6ms) Started GET "/invoice_bar/invoices/VF2016080031" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080031"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080031"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 31], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 31], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 31], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.8ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (12.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (13.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 46.7ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:33 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:14:34 +0200 Started GET "/invoice_bar/invoices/VF2016080031/edit" for 127.0.0.1 at 2016-08-06 14:15:55 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080031"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] Completed 500 Internal Server Error in 57ms (ActiveRecord: 1.6ms) ArgumentError (Unknown key: :required. Valid keys are: :allow_destroy, :reject_if, :limit, :update_only): activesupport (4.2.4) lib/active_support/core_ext/hash/keys.rb:75:in `block in assert_valid_keys' activesupport (4.2.4) lib/active_support/core_ext/hash/keys.rb:73:in `each_key' activesupport (4.2.4) lib/active_support/core_ext/hash/keys.rb:73:in `assert_valid_keys' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:13:in `accepts_nested_attributes_for' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice.rb:42:in `' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice.rb:2:in `' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice.rb:1:in `' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.4) lib/active_support/dependencies.rb:526:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.4) lib/active_support/inflector/methods.rb:304:in `safe_constantize' activesupport (4.2.4) lib/active_support/dependencies.rb:572:in `safe_get' activesupport (4.2.4) lib/active_support/dependencies.rb:603:in `safe_constantize' activerecord (4.2.4) lib/active_record/inheritance.rb:154:in `block in compute_type' activerecord (4.2.4) lib/active_record/inheritance.rb:153:in `each' activerecord (4.2.4) lib/active_record/inheritance.rb:153:in `compute_type' activerecord (4.2.4) lib/active_record/reflection.rb:271:in `compute_class' activerecord (4.2.4) lib/active_record/reflection.rb:267:in `klass' activerecord (4.2.4) lib/active_record/reflection.rb:505:in `automatic_inverse_of' activerecord (4.2.4) lib/active_record/reflection.rb:494:in `block in inverse_name' activerecord (4.2.4) lib/active_record/reflection.rb:490:in `fetch' activerecord (4.2.4) lib/active_record/reflection.rb:490:in `inverse_name' activerecord (4.2.4) lib/active_record/reflection.rb:387:in `has_inverse?' activerecord (4.2.4) lib/active_record/reflection.rb:336:in `check_validity_of_inverse!' activerecord (4.2.4) lib/active_record/reflection.rb:331:in `check_validity!' activerecord (4.2.4) lib/active_record/associations/association.rb:25:in `initialize' activerecord (4.2.4) lib/active_record/associations.rb:162:in `new' activerecord (4.2.4) lib/active_record/associations.rb:162:in `association' activerecord (4.2.4) lib/active_record/associations/builder/association.rb:115:in `invoices' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:213:in `set_invoice' activesupport (4.2.4) lib/active_support/callbacks.rb:432:in `block in make_lambda' activesupport (4.2.4) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each' activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.9ms) Started GET "/invoice_bar/invoices/VF2016080031/edit" for 127.0.0.1 at 2016-08-06 14:16:49 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080031"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080031"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.4ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 31], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (7.5ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 31], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (59.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (60.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 150ms (Views: 85.7ms | ActiveRecord: 3.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:49 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:16:50 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:16:51 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:17:01 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.1ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.6ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (60.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 91ms (Views: 86.0ms | ActiveRecord: 2.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:02 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.4ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (21.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (22.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 67ms (Views: 56.0ms | ActiveRecord: 1.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:12 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:13 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:17:24 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"x5BpU1s4aOb9/62lwR7t0snuUCpTanZOgiWcV8YEMSclSNksjiqaMlDyhh7R0L/3cSTtBQW43YsyFwPi8uiDYw==", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080032", "issuer_false_hidden"=>"PF2016080001", "commit"=>"Uložit"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (3.6ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.2ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (20.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (21.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 81ms (Views: 50.2ms | ActiveRecord: 1.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:17:25 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (0.8ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (50.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 82ms (Views: 78.2ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:20 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:21 +0200 Started GET "/invoice_bar/invoice_templates" for 127.0.0.1 at 2016-08-06 14:18:22 +0200 Processing by InvoiceBar::InvoiceTemplatesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/index.html.erb within invoice_bar/layouts/signed_in (14.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (30.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 57ms (Views: 53.2ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:22 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:22 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:22 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:22 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:23 +0200 Started GET "/invoice_bar/invoice_templates/2" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Processing by InvoiceBar::InvoiceTemplatesController#show as HTML Parameters: {"id"=>"2"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 2], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 2], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.2ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (8.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/show.html.erb within invoice_bar/layouts/signed_in (9.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 37.5ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:25 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:26 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.0ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.4ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (64.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (30.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 104ms (Views: 99.9ms | ActiveRecord: 1.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:28 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:29 +0200 Started GET "/invoice_bar/invoice_templates" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Processing by InvoiceBar::InvoiceTemplatesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/index.html.erb within invoice_bar/layouts/signed_in (7.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:35 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:36 +0200 Started GET "/invoice_bar/invoice_templates/1" for 127.0.0.1 at 2016-08-06 14:18:42 +0200 Processing by InvoiceBar::InvoiceTemplatesController#show as HTML Parameters: {"id"=>"1"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.2ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (11.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/show.html.erb within invoice_bar/layouts/signed_in (12.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (33.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 60ms (Views: 54.2ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:43 +0200 Started GET "/invoice_bar/invoice_templates/1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Processing by InvoiceBar::InvoiceTemplatesController#show as HTML Parameters: {"id"=>"1"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.1ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/show.html.erb within invoice_bar/layouts/signed_in (8.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 38.4ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:50 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:51 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:18:53 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.1ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (63.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 98ms (Views: 92.9ms | ActiveRecord: 1.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:54 +0200 Started GET "/invoice_bar/contacts" for 127.0.0.1 at 2016-08-06 14:18:57 +0200 Processing by InvoiceBar::ContactsController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Contact Load (0.3ms) SELECT "invoice_bar_contacts".* FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/contacts/index.html.erb within invoice_bar/layouts/signed_in (4.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 40ms (Views: 37.1ms | ActiveRecord: 0.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:57 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:18:58 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.8ms) InvoiceBar::Account Load (0.3ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (4.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (28.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (30.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 58.2ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:03 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:04 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2sNt4MU7C/usigeIuZkt1t8rYUAtlnKdUKHC00bTZ4w4G92fECn5LwGHLDOpV3/zZ+Hcb3tE2Vjgk11mcj/VyA==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080032", "issuer_false_hidden"=>"PF2016080001"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]]  (0.1ms) begin transaction  (0.1ms) commit transaction InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (18.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (28.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 67ms (Views: 52.4ms | ActiveRecord: 1.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:08 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:09 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.0ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (54.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 85ms (Views: 82.0ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:19 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:20 +0200 Started GET "/invoice_bar/invoice_templates" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Processing by InvoiceBar::InvoiceTemplatesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/index.html.erb within invoice_bar/layouts/signed_in (8.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 46ms (Views: 43.1ms | ActiveRecord: 0.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:22 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:23 +0200 Started GET "/invoice_bar/invoice_templates/1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Processing by InvoiceBar::InvoiceTemplatesController#show as HTML Parameters: {"id"=>"1"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.0ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (8.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/show.html.erb within invoice_bar/layouts/signed_in (9.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 45ms (Views: 40.8ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:24 +0200 Started GET "/invoice_bar/invoice_templates/1/edit" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Processing by InvoiceBar::InvoiceTemplatesController#edit as HTML Parameters: {"id"=>"1"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms)  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.2ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (15.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/edit.html.erb within invoice_bar/layouts/signed_in (16.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 50ms (Views: 44.4ms | ActiveRecord: 0.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:26 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:27 +0200 Started PATCH "/invoice_bar/invoice_templates/1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Processing by InvoiceBar::InvoiceTemplatesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HkPHUIufk259aWgAE/ryOzzANnmxy/q+Fs2h0G+fiWX8m3cvXo1hutBkQ7sDNKAehAqLVucZUXum/z5lW3M7IQ==", "invoice_template"=>{"name"=>"Name 1", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"62"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-05", "due_date"=>"2016-09-02", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"31", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit", "id"=>"1"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] Unpermitted parameter: id  (0.1ms) begin transaction InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] SQL (0.3ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 62]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 31 [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", "Name 1"], ["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."name" = ? AND "invoice_bar_invoice_templates"."user_id" = ? [["name", "Name 1"], ["user_id", 1]] SQL (0.2ms) UPDATE "invoice_bar_invoice_templates" SET "note" = ?, "updated_at" = ? WHERE "invoice_bar_invoice_templates"."id" = ? [["note", "fff"], ["updated_at", "2016-08-06 12:19:29.058801"], ["id", 1]] SQL (0.2ms) UPDATE "invoice_bar_items" SET "unit" = ?, "updated_at" = ? WHERE "invoice_bar_items"."id" = ? [["unit", ""], ["updated_at", "2016-08-06 12:19:29.060965"], ["id", 31]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"], ["created_at", "2016-08-06 12:19:29.062458"], ["updated_at", "2016-08-06 12:19:29.062458"]]  (220.3ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoice_templates/1 Completed 302 Found in 245ms (ActiveRecord: 222.3ms) Started GET "/invoice_bar/invoice_templates/1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Processing by InvoiceBar::InvoiceTemplatesController#show as HTML Parameters: {"id"=>"1"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.2ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (8.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoice_templates/show.html.erb within invoice_bar/layouts/signed_in (9.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 39.7ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:29 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:30 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.2ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.4ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (65.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 97ms (Views: 92.7ms | ActiveRecord: 1.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:33 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:34 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.1ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (18.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (37.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 74ms (Views: 63.1ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:35 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:36 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:19:38 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WK0HHHmZ3HRupthAksfioP6n8SJqv3s9uMwxakWy/Bu6dbdjrIsuoMOr8/uCCbCFRm1MDTxt0PgI/q7fcV5OXw==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080032", "issuer_false_hidden"=>"PF2016080001"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]]  (0.1ms) begin transaction  (0.1ms) commit transaction InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (18.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 66ms (Views: 47.3ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:38 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:19:39 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:20:50 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"g7nEntcwt5k8iTZoOFQiynWC5y8sFezeDa7IIKAZuPFhYXThAiJFTZGEHdMomnDvzUhaAHrHRxu9nFeVlPUKtQ==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "1"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (8.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (42.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (43.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 175ms (Views: 70.7ms | ActiveRecord: 3.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:20:51 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.1ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3196568406898839611_47450348246300 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.4ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (89.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (33.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 166ms (Views: 127.5ms | ActiveRecord: 3.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:29 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:30 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (3.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (44.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (45.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 127ms (Views: 75.0ms | ActiveRecord: 2.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:32 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"glQrW2SBRomOnyatHcLIzP8X90/jisr5RtCkJZpU+elgjJsksZO0XSOSDRYNDJrpR91KYLVYYTz24juQrrhLrQ==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080032", "issuer_false_hidden"=>"PF2016080001"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.4ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.4ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]]  (0.1ms) begin transaction  (0.1ms) commit transaction InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.3ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (19.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (20.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 82ms (Views: 53.0ms | ActiveRecord: 2.0ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:35 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sKOqwzl09aeQbqjpRqRgb0JwsYyeCop8yaQU3lGv09FSexq87GYHcz1jg1JWajJK+roMo8jYIbl5lotrZUNhlQ==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "1"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (8.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (46.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (47.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 182ms (Views: 74.3ms | ActiveRecord: 3.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:53 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:21:54 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:24:14 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.8ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__3010255605330111808_46997980059740 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (454.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (586.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (4.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 1121ms (Views: 1052.4ms | ActiveRecord: 4.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:15 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:15 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:15 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:16 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:17 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:17 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (2.0ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (3.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.8ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (4.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (57.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (59.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 143ms (Views: 86.6ms | ActiveRecord: 2.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:18 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"x+vL3mYYRDt/2RAIPrTpDzY5IZkpRJUAHYkc5r7zfyUlM3uhswq279LUO7MuersqjvOctn+WPsWtu4NTih/NYQ==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080032", "issuer_false_hidden"=>"PF2016080001"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]]  (0.1ms) begin transaction  (0.1ms) commit transaction InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (3.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (8.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (32.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (33.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (26.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 85ms (Views: 66.5ms | ActiveRecord: 1.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:24 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:24:25 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:25:46 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"5C8Pt6MQtbrwCRF0tDmXjF5KYar7aFHol9fiVA88VAkG97/IdgJHbl0EOs+k98Wp5oDcha26+i0n5X3hO9DmTQ==", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"", "id"=>"", "_destroy"=>"false"}, "1"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]] SQL (0.5ms) INSERT INTO "invoice_bar_invoices" ("number", "contact_tax_id2", "contact_tax_id", "contact_name", "issue_date", "due_date", "account_id", "note", "user_name", "user_tax_id", "user_tax_id2", "user_id", "amount", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "VF2016080032"], ["contact_tax_id2", "CZ898989"], ["contact_tax_id", 1029392], ["contact_name", "Company"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["account_id", 1], ["note", "fff"], ["user_name", "admin"], ["user_tax_id", 123456], ["user_tax_id2", "123456"], ["user_id", 1], ["amount", 1000], ["created_at", "2016-08-06 12:25:46.915702"], ["updated_at", "2016-08-06 12:25:46.915702"]] SQL (0.2ms) INSERT INTO "invoice_bar_items" ("name", "price", "unit", "itemable_type", "amount", "itemable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["unit", ""], ["itemable_type", "InvoiceBar::Invoice"], ["amount", 1000], ["itemable_id", 32], ["created_at", "2016-08-06 12:25:46.917983"], ["updated_at", "2016-08-06 12:25:46.917983"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 32], ["created_at", "2016-08-06 12:25:46.919807"], ["updated_at", "2016-08-06 12:25:46.919807"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "postcode", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["street", "Ulice"], ["street_number", "1"], ["city", "Mesto"], ["postcode", "74727"], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 32], ["created_at", "2016-08-06 12:25:46.921326"], ["updated_at", "2016-08-06 12:25:46.921326"]]  (107.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080032 Completed 302 Found in 138ms (ActiveRecord: 109.3ms) Started GET "/invoice_bar/invoices/VF2016080032" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080032"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.4ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080032"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 32], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 32], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 32], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.9ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (12.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (13.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 54ms (Views: 44.1ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:47 +0200 Started GET "/invoice_bar/invoices/VF2016080032/edit" for 127.0.0.1 at 2016-08-06 14:25:51 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080032"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080032"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.8ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 32], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.6ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (3.1ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 32], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (25.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (27.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (28.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 61.5ms | ActiveRecord: 1.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:51 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:51 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:51 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:25:52 +0200 Started PATCH "/invoice_bar/invoices/VF2016080032" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oeNKMv8CpJFKyeYNg3QfNIUVjKqF/xvfxR+RwygHAyZDO/pNKhBWRefEzbaTuk0RPd8xhdMtsBp1LQ52HOuxYg==", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"131"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"67", "_destroy"=>"false"}, "1470486355610"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "1470486362218"=>{"name"=>"dddd", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit", "number"=>"VF2016080032"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080032"]] Unpermitted parameter: id  (0.1ms) begin transaction InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 32], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.3ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 131]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" IN (67, NULL, NULL) [["itemable_id", 32], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 32], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080032"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 32], ["addressable_type", "InvoiceBar::Invoice#user_address"]]  (0.2ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.9ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (3.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (21.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (22.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 80ms (Views: 55.9ms | ActiveRecord: 2.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:06 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:26:07 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:26:14 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UCTIPlVWCJwyD2wzsvfZT3Rii65FmVCeSrKqGuTfRRey/HhBgET6SJ8CR4iiOYtqzKg2gRNL+1v6gDWv0DP3Uw==", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"67", "_destroy"=>"false"}, "1"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "2"=>{"name"=>"dddd", "number"=>"", "unit"=>"", "price"=>"", "id"=>"", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] Completed 404 Not Found in 12ms (ActiveRecord: 0.3ms) ActiveRecord::RecordNotFound (Couldn't find InvoiceBar::Item with ID=67 for InvoiceBar::Invoice with ID=): activerecord (4.2.4) lib/active_record/nested_attributes.rb:545:in `raise_nested_attributes_record_not_found!' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:138:in `block in assign_nested_attributes_for_collection_association' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:112:in `each' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:112:in `assign_nested_attributes_for_collection_association' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:37:in `items_attributes=' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `public_send' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `_assign_attribute' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `block in assign_nested_parameter_attributes' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `each' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `assign_nested_parameter_attributes' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/attribute_assignment.rb:71:in `assign_attributes' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.2.4) lib/active_record/core.rb:281:in `initialize' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:105:in `create' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.0ms) Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:26:34 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UCTIPlVWCJwyD2wzsvfZT3Rii65FmVCeSrKqGuTfRRey/HhBgET6SJ8CR4iiOYtqzKg2gRNL+1v6gDWv0DP3Uw==", "invoice"=>{"number"=>"VF2016080032", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"67", "_destroy"=>"false"}, "1"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "2"=>{"name"=>"dddd", "number"=>"", "unit"=>"", "price"=>"", "id"=>"", "_destroy"=>"false"}, "1470486390470"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "1470486392792"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] Completed 404 Not Found in 10ms (ActiveRecord: 0.3ms) ActiveRecord::RecordNotFound (Couldn't find InvoiceBar::Item with ID=67 for InvoiceBar::Invoice with ID=): activerecord (4.2.4) lib/active_record/nested_attributes.rb:545:in `raise_nested_attributes_record_not_found!' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:138:in `block in assign_nested_attributes_for_collection_association' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:112:in `each' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:112:in `assign_nested_attributes_for_collection_association' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/nested_attributes.rb:37:in `items_attributes=' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `public_send' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:54:in `_assign_attribute' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `block in assign_nested_parameter_attributes' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `each' activerecord (4.2.4) lib/active_record/attribute_assignment.rb:65:in `assign_nested_parameter_attributes' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/attribute_assignment.rb:71:in `assign_attributes' protected_attributes (1.1.3) lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes' activerecord (4.2.4) lib/active_record/core.rb:281:in `initialize' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' activerecord (4.2.4) lib/active_record/inheritance.rb:61:in `new' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:105:in `create' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:38:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.4ms) Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:28:32 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (1.8ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.7ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (9.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (60.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (420.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (593.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 1157ms (Views: 1029.5ms | ActiveRecord: 5.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:33 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:34 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (3.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.1ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (25.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (26.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 67ms (Views: 55.0ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:28:53 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:28:54 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:29:31 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (21.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (22.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 54.2ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:29:32 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.2ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (21.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (22.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 64ms (Views: 55.9ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:46 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:29:47 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.4ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (22.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (23.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (25.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 68ms (Views: 55.8ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:06 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:30:07 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.6ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (3.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (24.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (26.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (27.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 72ms (Views: 61.9ms | ActiveRecord: 1.0ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:30:48 +0200 Started GET "/invoice_bar/invoices/new" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Processing by InvoiceBar::InvoicesController#new as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "t"]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? [["user_id", 1], ["issuer", "f"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.3ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (20.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (22.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (33.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 74ms (Views: 62.7ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:51 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2016-08-06 14:30:52 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0764tZ5rg3ipodtFzyKZI+7k4+2shPJdS6oF/3MREyExZgjKS3lxrASs8P7f7MsGVi5ewvpWWZj7mJpKR/2hZQ==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}, "1470486654600"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "issuer_true_hidden"=>"VF2016080033", "issuer_false_hidden"=>"PF2016080001", "commit"=>"Uložit"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]]  (0.1ms) commit transaction  (0.0ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (3.3ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.5ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (3.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (24.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (25.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 90ms (Views: 53.3ms | ActiveRecord: 1.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:30:56 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"6n2sOe5cp85cc6Zqwa/mXVwovluWEtEOSLLgANDPbtcIpRxGO05VGvF+jdHRYbR45OIDdMDAesv4gH+15CPckw==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"", "id"=>"", "_destroy"=>"false"}, "1"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"", "id"=>"", "_destroy"=>"false"}}, "note"=>""}, "commit"=>"Uložit"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]]  (0.1ms) commit transaction  (0.1ms) begin transaction CACHE (0.0ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]]  (0.1ms) rollback transaction Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (2.4ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (16.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (17.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 76ms (Views: 46.8ms | ActiveRecord: 1.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:08 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2hXHdE+VQB3D3dBcmWHa8MjpiXpuPGXiyMq501M6YbA4zXcLmoeyyW7Q++eJr4jVcCM0VTjuzid4+CZmZ9bT9A==", "template_ids"=>["1"], "fill_in"=>"Použít", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"", "contact_tax_id"=>"", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"", "street_number"=>"", "postcode"=>"", "city"=>"", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"1470486681018"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"false"}}, "note"=>""}} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::InvoiceTemplate Load (0.3ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? AND "invoice_bar_invoice_templates"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::InvoiceTemplate"]]  (0.1ms) begin transaction  (0.1ms) commit transaction InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::InvoiceTemplate"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.4ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (21.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (22.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (29.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.0ms) Completed 200 OK in 84ms (Views: 59.9ms | ActiveRecord: 1.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:28 +0200 Started POST "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UsOjsIO7n8i1G2BhTXhq8oCa2LqM8iI+WpZC4/fsFc6wGxPPVqltHBgWS9pdtjjXOFBlldogifvqpN1WwwCnig==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"", "_destroy"=>"1"}, "1"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10", "id"=>"", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]]  (0.2ms) begin transaction  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] SQL (0.8ms) INSERT INTO "invoice_bar_invoices" ("number", "contact_tax_id2", "contact_tax_id", "contact_name", "issue_date", "due_date", "account_id", "user_id", "note", "user_name", "user_tax_id", "user_tax_id2", "amount", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "VF2016080033"], ["contact_tax_id2", "CZ898989"], ["contact_tax_id", 1029392], ["contact_name", "Company"], ["issue_date", "2016-08-06"], ["due_date", "2016-08-20"], ["account_id", 1], ["user_id", 1], ["note", "fff"], ["user_name", "admin"], ["user_tax_id", 123456], ["user_tax_id2", "123456"], ["amount", 1000], ["created_at", "2016-08-06 12:31:37.479485"], ["updated_at", "2016-08-06 12:31:37.479485"]] SQL (0.4ms) INSERT INTO "invoice_bar_items" ("name", "price", "unit", "itemable_type", "amount", "itemable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Item"], ["price", 1000], ["unit", ""], ["itemable_type", "InvoiceBar::Invoice"], ["amount", 1000], ["itemable_id", 33], ["created_at", "2016-08-06 12:31:37.483871"], ["updated_at", "2016-08-06 12:31:37.483871"]] SQL (0.3ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 33], ["created_at", "2016-08-06 12:31:37.487338"], ["updated_at", "2016-08-06 12:31:37.487338"]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "postcode", "addressable_type", "addressable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["street", "Ulice"], ["street_number", "1"], ["city", "Mesto"], ["postcode", "74727"], ["addressable_type", "InvoiceBar::Invoice#user_address"], ["addressable_id", 33], ["created_at", "2016-08-06 12:31:37.490076"], ["updated_at", "2016-08-06 12:31:37.490076"]]  (104.1ms) commit transaction  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080033 Completed 302 Found in 141ms (ActiveRecord: 107.1ms) Started GET "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.3ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.9ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (20.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (21.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 56ms (Views: 50.4ms | ActiveRecord: 1.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:37 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:38 +0200 Started GET "/invoice_bar/invoices/VF2016080033/edit" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.4ms) InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.3ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (20.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (22.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 60ms (Views: 53.4ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:40 +0200 Started PATCH "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ncSZOG7LyHrsdi7aMprX2LKudhV/mY3gTX2MOHXc9UZ/HClHu9k6rkF7BWEiVIX9CmTLOilLJiX9TxONQTBHAg==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"133"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"", "id"=>"68", "_destroy"=>"false"}}, "note"=>"fff"}, "commit"=>"Uložit", "number"=>"VF2016080033"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Unpermitted parameter: id  (0.2ms) begin transaction InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.5ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 133]] InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 68 [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.2ms) UPDATE "invoice_bar_invoices" SET "amount" = ?, "updated_at" = ? WHERE "invoice_bar_invoices"."id" = ? [["amount", 0], ["updated_at", "2016-08-06 12:31:44.535253"], ["id", 33]] SQL (0.1ms) UPDATE "invoice_bar_items" SET "price" = ?, "amount" = ?, "updated_at" = ? WHERE "invoice_bar_items"."id" = ? [["price", 0], ["amount", 0], ["updated_at", "2016-08-06 12:31:44.537630"], ["id", 68]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 12:31:44.538986"], ["updated_at", "2016-08-06 12:31:44.538986"]]  (235.0ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080033 Completed 302 Found in 267ms (ActiveRecord: 237.5ms) Started GET "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.9ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 37.9ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:44 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:45 +0200 Started GET "/invoice_bar/invoices/VF2016080033/edit" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.9ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.4ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.8ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (22.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (23.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (26.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 62ms (Views: 56.6ms | ActiveRecord: 1.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:31:50 +0200 Started PATCH "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 14:32:01 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"q6fH0Br8b9jjpQ1E3z+0g7ku5xSysR+dfSgx+R6qLbBJf3evz+6dDE6oJv/P8eamAeRaO+RjtFjNGq5MKkaf9A==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"135"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"0,00", "id"=>"68", "_destroy"=>"1"}}, "note"=>"fff"}, "commit"=>"Uložit", "number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Unpermitted parameter: id  (0.1ms) begin transaction InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.2ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 135]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 68 [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.2ms) DELETE FROM "invoice_bar_items" WHERE "invoice_bar_items"."id" = ? [["id", 68]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 12:32:01.763986"], ["updated_at", "2016-08-06 12:32:01.763986"]]  (101.6ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080033 Completed 302 Found in 123ms (ActiveRecord: 103.2ms) Started GET "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 14:32:01 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.6ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 42ms (Views: 37.0ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:01 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:01 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:32:02 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (2.9ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.5ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (89.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 125ms (Views: 119.7ms | ActiveRecord: 2.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:26 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:27 +0200 Started GET "/invoice_bar/invoices/201001124" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001124"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001124"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 4], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 4], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 4], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.6ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (11.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (12.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (32.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 63ms (Views: 52.4ms | ActiveRecord: 1.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 14:40:30 +0200 Started GET "/invoice_bar/currencies" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Processing by InvoiceBar::CurrenciesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" LIMIT 25 OFFSET 0 Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/currencies/index.html.erb within invoice_bar/layouts/signed_in (4.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 36ms (Views: 34.3ms | ActiveRecord: 0.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:38 +0200 Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (0.8ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (56.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 90ms (Views: 86.1ms | ActiveRecord: 1.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:49 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:50 +0200 Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 15:49:52 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.8ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 37.1ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:53 +0200 Started GET "/invoice_bar/invoices?page=2" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Processing by InvoiceBar::InvoicesController#index as HTML Parameters: {"page"=>"2"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.4ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__866952593364873522_47228721627880 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 25 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (34.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:49:59 +0200 Started GET "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.7ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (23.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 41ms (Views: 36.9ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:01 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:02 +0200 Started GET "/invoice_bar/invoices/VF2016080033/edit" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.2ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.3ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.1ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (18.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 52ms (Views: 47.1ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:20 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:50:21 +0200 Started GET "/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2016-08-06 15:50:23 +0200 Started GET "/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png" for 127.0.0.1 at 2016-08-06 15:50:23 +0200 Started GET "/assets/jquery-ui/ui-icons_222222_256x240.png" for 127.0.0.1 at 2016-08-06 15:50:23 +0200 Started GET "/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png" for 127.0.0.1 at 2016-08-06 15:50:23 +0200 Started GET "/assets/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png" for 127.0.0.1 at 2016-08-06 15:50:23 +0200 Started GET "/assets/jquery-ui/ui-bg_glass_75_dadada_1x400.png" for 127.0.0.1 at 2016-08-06 15:50:55 +0200 Started GET "/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2016-08-06 15:50:57 +0200 Started PATCH "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 15:51:12 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8EqmGEa9YEZwAfY69jCV75YVsx0fZRy0skiah/VPqpMSkhZnk6+Skt0M3YHm/sfKLt8OMkm3t3ECegUywaMY1w==", "invoice"=>{"number"=>"VF2016080033", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"1029392", "contact_tax_id2"=>"CZ898989", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"136"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-19", "due_date"=>"2016-08-18", "user_id"=>"1", "note"=>"fff"}, "commit"=>"Uložit", "number"=>"VF2016080033"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] Unpermitted parameter: id  (0.2ms) begin transaction InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.6ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 136]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF2016080033"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.2ms) UPDATE "invoice_bar_invoices" SET "issue_date" = ?, "due_date" = ?, "updated_at" = ? WHERE "invoice_bar_invoices"."id" = ? [["issue_date", "2016-08-19"], ["due_date", "2016-08-18"], ["updated_at", "2016-08-06 13:51:12.674594"], ["id", 33]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 13:51:12.676832"], ["updated_at", "2016-08-06 13:51:12.676832"]]  (106.7ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/VF2016080033 Completed 302 Found in 133ms (ActiveRecord: 108.9ms) Started GET "/invoice_bar/invoices/VF2016080033" for 127.0.0.1 at 2016-08-06 15:51:12 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.6ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (7.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 39.0ms | ActiveRecord: 0.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:12 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:12 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:12 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:13 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:51:14 +0200 Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:51:15 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (6.7ms) Completed 200 OK in 239ms (Views: 6.5ms | ActiveRecord: 0.7ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:52:06 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 21ms (Views: 0.4ms | ActiveRecord: 1.0ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:53:10 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.7ms) Completed 200 OK in 108ms (Views: 0.5ms | ActiveRecord: 3.6ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:54:32 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Completed 500 Internal Server Error in 69ms (ActiveRecord: 2.5ms) NameError (undefined local variable or method `document' for #): /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:35:in `printable_invoice' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:10:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.9ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:54:45 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Completed 500 Internal Server Error in 70ms (ActiveRecord: 2.3ms) NoMethodError (undefined method `l' for #): /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:35:in `printable_invoice' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:10:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.5ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:55:40 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.7ms) Completed 200 OK in 85ms (Views: 0.6ms | ActiveRecord: 3.1ms) Started GET "/invoice_bar/invoices/VF2016080033.pdf" for 127.0.0.1 at 2016-08-06 15:56:32 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"VF2016080033"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "VF2016080033"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 33], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 33], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.7ms) Completed 200 OK in 90ms (Views: 0.5ms | ActiveRecord: 2.8ms) Started GET "/invoice_bar/receipts" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Processing by InvoiceBar::ReceiptsController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:27) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:30) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:33) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (0.9ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:43) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:46) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:49) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb___676574613935006420_70020795446660 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:52) InvoiceBar::Receipt Load (0.4ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb within invoice_bar/layouts/signed_in (84.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (30.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 140ms (Views: 119.5ms | ActiveRecord: 3.1ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:38 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:56:39 +0200 Started GET "/invoice_bar/receipts/2010011231" for 127.0.0.1 at 2016-08-06 15:57:11 +0200 Processing by InvoiceBar::ReceiptsController#show as HTML Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (7.1ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (53.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/show.html.erb within invoice_bar/layouts/signed_in (54.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 161ms (Views: 82.9ms | ActiveRecord: 3.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:12 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 15:57:13 +0200 Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 15:57:15 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.5ms) SyntaxError (/home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:37: syntax error, unexpected ',', expecting ')' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:39: syntax error, unexpected tLABEL, expecting '=' bank_account_number: @receipt.account_bank_accoun... ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:40: syntax error, unexpected tLABEL, expecting '=' account_iban: @receipt.account_iban.to_s, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:41: syntax error, unexpected tLABEL, expecting '=' account_swift: @receipt.account_swift.to_s, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:42: syntax error, unexpected tLABEL, expecting '=' items: printable_items, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:44: syntax error, unexpected ')', expecting keyword_end /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:61: syntax error, unexpected end-of-input, expecting keyword_end): /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:37: syntax error, unexpected ',', expecting ')' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:39: syntax error, unexpected tLABEL, expecting '=' bank_account_number: @receipt.account_bank_accoun... ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:40: syntax error, unexpected tLABEL, expecting '=' account_iban: @receipt.account_iban.to_s, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:41: syntax error, unexpected tLABEL, expecting '=' account_swift: @receipt.account_swift.to_s, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:42: syntax error, unexpected tLABEL, expecting '=' items: printable_items, ^ /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:44: syntax error, unexpected ')', expecting keyword_end /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:61: syntax error, unexpected end-of-input, expecting keyword_end activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.4) lib/active_support/dependencies.rb:526:in `load_missing_constant' activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.5ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 15:57:27 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Rendered text template (0.0ms) Sent data (0.7ms) Completed 200 OK in 95ms (Views: 0.6ms | ActiveRecord: 3.0ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:19:15 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.3ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 529ms (ActiveRecord: 4.1ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.0ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:12 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 81ms (ActiveRecord: 3.1ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.4ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:13 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 16ms (ActiveRecord: 1.2ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.4ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:25 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 495ms (ActiveRecord: 3.9ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.0ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:26 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.8ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:51 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 76ms (ActiveRecord: 2.8ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.4ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:52 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.1ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.7ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (28.0ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:54 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.1ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.3ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:56 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.1ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.8ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (24.4ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:57 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 17ms (ActiveRecord: 1.1ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.8ms) Started GET "/invoice_bar/receipts/2010011231.pdf" for 127.0.0.1 at 2016-08-06 16:25:58 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011231"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.2ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011231"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Receipt"]] Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms) Prawn::Errors::IncompatibleStringEncoding (Your document includes text that's not compatible with the Windows-1252 character set. If you need full UTF-8 support, use TTF fonts instead of PDF's built-in fonts .): prawn (2.1.0) lib/prawn/font/afm.rb:106:in `rescue in normalize_encoding' prawn (2.1.0) lib/prawn/font/afm.rb:102:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:379:in `block in normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `each' prawn (2.1.0) lib/prawn/text/formatted/box.rb:373:in `normalize_encoding' prawn (2.1.0) lib/prawn/text/formatted/box.rb:351:in `normalized_text' prawn (2.1.0) lib/prawn/text/formatted/box.rb:214:in `block (3 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:182:in `text_rendering_mode' prawn (2.1.0) lib/prawn/text/formatted/box.rb:211:in `block (2 levels) in render' pdf-core (0.6.1) lib/pdf/core/text.rb:204:in `character_spacing' prawn (2.1.0) lib/prawn/text/formatted/box.rb:210:in `block in render' prawn (2.1.0) lib/prawn/font.rb:207:in `save_font' prawn (2.1.0) lib/prawn/text/formatted/box.rb:209:in `render' prawn (2.1.0) lib/prawn/text/box.rb:133:in `render' prawn (2.1.0) lib/prawn/text/box.rb:116:in `text_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:209:in `build_provider_box' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:118:in `build_pdf' invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:83:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/receipt_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/receipts_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (22.0ms) Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 16:26:05 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (2.3ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___510642945293437398_47295047456680 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.4ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (98.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (662.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (4.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 790ms (Views: 769.9ms | ActiveRecord: 2.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:06 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:08 +0200 Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (2.0ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (31.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (32.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (34.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 80ms (Views: 72.5ms | ActiveRecord: 1.0ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:09 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:26:10 +0200 Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:26:11 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms) ArgumentError (wrong number of arguments (1 for 0)): /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:11:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (23.2ms) Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:26:18 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Completed 500 Internal Server Error in 79ms (ActiveRecord: 3.2ms) InvoicePrinter::PDFDocument::FontFileNotFound (Font file not found at /home/strzibny/projects/invoicebar/test/dummy/app/assets/fonts/invoice_bar/Overpass_Regular.ttf): invoice_printer (0.0.4) lib/invoice_printer/pdf_document.rb:79:in `initialize' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `new' invoice_printer (0.0.4) lib/invoice_printer.rb:60:in `render' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:12:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (30.2ms) Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:27:03 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Completed 500 Internal Server Error in 77ms (ActiveRecord: 2.9ms) NoMethodError (undefined method `root' for InvoiceBar:Module): /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:14:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.2ms) Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:27:32 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (1.7ms) Completed 200 OK in 116ms (Views: 1.5ms | ActiveRecord: 3.1ms) Started GET "/invoice_bar/invoices/201001121/edit" for 127.0.0.1 at 2016-08-06 16:28:17 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.2ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (2.4ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.9ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.9ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (4.9ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (72.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (74.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (22.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 125ms (Views: 101.6ms | ActiveRecord: 1.7ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:18 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:28:19 +0200 Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:29:33 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (1.1ms) Completed 200 OK in 116ms (Views: 0.9ms | ActiveRecord: 3.0ms) Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:37:33 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (4.6ms) Completed 200 OK in 514ms (Views: 4.5ms | ActiveRecord: 4.2ms) Started GET "/invoice_bar/invoices/201001121/edit" for 127.0.0.1 at 2016-08-06 16:38:05 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.3ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (2.2ms) InvoiceBar::InvoiceTemplate Load (0.2ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (2.9ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.7ms) InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (4.0ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (2.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (60.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (65.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (601.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (3.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 700ms (Views: 673.7ms | ActiveRecord: 1.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:06 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:07 +0200 Started PATCH "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YOX9Wu75Nq4Tfs/5s6s+w1joQQ+suGbqNr+pGGtkEQiCPU0lO+vEer5z5EKjZWzm4CL8IPpqzS+GjTatX4ijTA==", "invoice"=>{"number"=>"201001121", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"102939", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"2"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"1", "_destroy"=>"false"}}, "note"=>""}, "commit"=>"Uložit", "number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Unpermitted parameter: id  (0.1ms) begin transaction InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.3ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 2]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 1 [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.2ms) UPDATE "invoice_bar_invoices" SET "contact_tax_id2" = ?, "note" = ?, "updated_at" = ? WHERE "invoice_bar_invoices"."id" = ? [["contact_tax_id2", ""], ["note", ""], ["updated_at", "2016-08-06 14:38:16.100312"], ["id", 1]] SQL (0.1ms) UPDATE "invoice_bar_items" SET "unit" = ?, "updated_at" = ? WHERE "invoice_bar_items"."id" = ? [["unit", ""], ["updated_at", "2016-08-06 14:38:16.102358"], ["id", 1]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 14:38:16.103728"], ["updated_at", "2016-08-06 14:38:16.103728"]]  (105.8ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/201001121 Completed 302 Found in 134ms (ActiveRecord: 108.0ms) Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (2.3ms) InvoiceBar::Currency Load (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (22.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (24.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 56ms (Views: 51.2ms | ActiveRecord: 1.2ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:16 +0200 Started GET "/invoice_bar/invoices/201001121/edit" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.0ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.4ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (0.9ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.0ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (17.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 49ms (Views: 44.5ms | ActiveRecord: 0.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:22 +0200 Started PATCH "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XAhgPETSbIgI+y5H8zYhpPt+WSb2UVOMPagmsFokjQC+0NBDkcCeXKX2Bfzj+HOBQ7TkCaCD+EmNmrkFbsg/RA==", "invoice"=>{"number"=>"201001121", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"102939", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"138"}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10", "id"=>"1", "_destroy"=>"false"}}, "note"=>""}, "commit"=>"Uložit", "number"=>"201001121"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Unpermitted parameter: id  (0.2ms) begin transaction InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.3ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 138]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 1 [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.2ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 14:38:42.073057"], ["updated_at", "2016-08-06 14:38:42.073057"]]  (95.9ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/201001121 Completed 302 Found in 126ms (ActiveRecord: 97.9ms) Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (1.4ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (11.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (11.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 48ms (Views: 41.8ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:38:42 +0200 Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:38:43 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 49ms (Views: 0.5ms | ActiveRecord: 0.8ms) Started GET "/invoice_bar/invoices/201001121/edit" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (0.1ms) InvoiceBar::InvoiceTemplate Load (0.1ms) SELECT "invoice_bar_invoice_templates".* FROM "invoice_bar_invoice_templates" WHERE "invoice_bar_invoice_templates"."user_id" = ? [["user_id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (1.6ms) InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (1.0ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (2.0ms) InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (1.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_document.html.erb (17.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (18.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (21.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 51ms (Views: 45.4ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:13 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:14 +0200 Started PATCH "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Processing by InvoiceBar::InvoicesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9kSTkV84i4NKaelJr1aWSrB0kTvlvo7YrCGJVIKVgMQUnCPuiip5V+dkwvK/mMRvCL4sFLNsJR0cExbhtnkygA==", "invoice"=>{"number"=>"201001121", "issuer"=>"true", "contact_name"=>"Company", "contact_tax_id"=>"102939", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"Street", "street_number"=>"28a", "postcode"=>"45695", "city"=>"City", "city_part"=>"Part", "extra_address_line"=>"", "id"=>"139"}, "account_id"=>"2", "payment_identification_number"=>"", "issue_date"=>"2016-08-06", "due_date"=>"2016-08-20", "user_id"=>"1", "items_attributes"=>{"0"=>{"name"=>"Item", "number"=>"", "unit"=>"", "price"=>"10,00", "id"=>"1", "_destroy"=>"false"}}, "note"=>""}, "commit"=>"Uložit", "number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Account Exists (0.1ms) SELECT 1 AS one FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? LIMIT 1 [["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] Unpermitted parameter: id  (0.1ms) begin transaction InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] SQL (0.2ms) DELETE FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."id" = ? [["id", 139]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? AND "invoice_bar_items"."id" = 1 [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "201001121"], ["user_id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] SQL (0.4ms) UPDATE "invoice_bar_invoices" SET "account_id" = ?, "updated_at" = ? WHERE "invoice_bar_invoices"."id" = ? [["account_id", 2], ["updated_at", "2016-08-06 14:39:22.694887"], ["id", 1]] SQL (0.1ms) INSERT INTO "invoice_bar_addresses" ("street", "street_number", "city", "city_part", "postcode", "extra_address_line", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "Street"], ["street_number", "28a"], ["city", "City"], ["city_part", "Part"], ["postcode", "45695"], ["extra_address_line", ""], ["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["created_at", "2016-08-06 14:39:22.697677"], ["updated_at", "2016-08-06 14:39:22.697677"]]  (130.3ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/201001121 Completed 302 Found in 154ms (ActiveRecord: 132.0ms) Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (0.9ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 6]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (8.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (8.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.6ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 43ms (Views: 38.5ms | ActiveRecord: 0.9ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:22 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:39:23 +0200 Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 16:39:25 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (0.5ms) Completed 200 OK in 41ms (Views: 0.4ms | ActiveRecord: 0.7ms) Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (3.4ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb___1048402955333809245_69834873909980 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.6ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 6]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (88.8ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (28.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 129ms (Views: 123.8ms | ActiveRecord: 2.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:37 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:38 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 16:40:39 +0200 Started GET "/" for 127.0.0.1 at 2016-08-06 17:24:00 +0200 Processing by Rails::WelcomeController#index as HTML Rendered /home/strzibny/.gem/ruby/gems/railties-4.2.4/lib/rails/templates/rails/welcome/index.html.erb (1.6ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started GET "/invoice_bar" for 127.0.0.1 at 2016-08-06 17:24:05 +0200 Processing by InvoiceBar::DashboardController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/invoice_bar/invoices Completed 302 Found in 45ms (ActiveRecord: 2.0ms) Started GET "/invoice_bar/invoices" for 127.0.0.1 at 2016-08-06 17:24:05 +0200 Processing by InvoiceBar::InvoicesController#index as HTML InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.6ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_invoices_index_html_erb__2540332166310135333_47095771009900 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.5ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 6]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (465.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (581.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (3.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.5ms) Completed 200 OK in 1075ms (Views: 1053.4ms | ActiveRecord: 2.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:06 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:07 +0200 Started GET "/invoice_bar/invoices/201001121" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.3ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (1.1ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (10.9ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 6]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (70.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (71.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (31.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 128ms (Views: 109.4ms | ActiveRecord: 2.3ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:09 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 17:24:10 +0200 Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 17:24:13 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.6ms) NoMethodError (undefined method `account_currency_symbol' for #): activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:43:in `printable_invoice' /home/strzibny/projects/invoicebar/app/models/invoice_bar/invoice_pdf.rb:14:in `render' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:27:in `block (2 levels) in show' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `call' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:23:in `show' actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' rack (1.6.4) lib/rack/etag.rb:24:in `call' rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' rack (1.6.4) lib/rack/head.rb:13:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' rack (1.6.4) lib/rack/runtime.rb:18:in `call' activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' rack (1.6.4) lib/rack/sendfile.rb:113:in `call' railties (4.2.4) lib/rails/engine.rb:518:in `call' railties (4.2.4) lib/rails/application.rb:165:in `call' rack (1.6.4) lib/rack/lock.rb:17:in `call' rack (1.6.4) lib/rack/content_length.rb:15:in `call' rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' /usr/share/ruby/webrick/httpserver.rb:138:in `service' /usr/share/ruby/webrick/httpserver.rb:94:in `run' /usr/share/ruby/webrick/server.rb:294:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (21.7ms) Started GET "/invoice_bar/invoices/201001121.pdf" for 127.0.0.1 at 2016-08-06 17:24:40 +0200 Processing by InvoiceBar::InvoicesController#show as PDF Parameters: {"number"=>"201001121"} InvoiceBar::User Load (0.3ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (0.2ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."number" = ? ORDER BY "invoice_bar_invoices"."id" ASC LIMIT 1 [["user_id", 1], ["number", "201001121"]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::Invoice#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 2]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 2]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 6]] InvoiceBar::Item Load (0.2ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 1], ["itemable_type", "InvoiceBar::Invoice"]] Rendered text template (0.0ms) Sent data (2.3ms) Completed 200 OK in 132ms (Views: 2.1ms | ActiveRecord: 3.9ms) Started GET "/invoice_bar/receipts" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Processing by InvoiceBar::ReceiptsController#index as HTML InvoiceBar::User Load (0.2ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:27) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:30) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:33) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (0.8ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:43) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:46) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:49) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_app_views_invoice_bar_receipts_index_html_erb__1035970114034147615_70056333242760 at /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb:52) InvoiceBar::Receipt Load (0.4ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]]  (0.2ms) SELECT COUNT(*) FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/index.html.erb within invoice_bar/layouts/signed_in (82.7ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 148ms (Views: 110.9ms | ActiveRecord: 3.6ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:51 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:52 +0200 Started GET "/invoice_bar/receipts/2010011235" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Processing by InvoiceBar::ReceiptsController#show as HTML Parameters: {"number"=>"2010011235"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.4ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011235"]] InvoiceBar::Address Load (0.3ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 5], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.2ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.2ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 5], ["addressable_type", "InvoiceBar::Receipt#user_address"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.2ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.1ms) InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.3ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 5], ["itemable_type", "InvoiceBar::Receipt"]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/forms/_items.html.erb (11.3ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 5]] Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/documents/_show.html.erb (52.3ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/receipts/show.html.erb within invoice_bar/layouts/signed_in (53.9ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (24.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 104ms (Views: 84.2ms | ActiveRecord: 2.5ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui.css?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:54 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for 127.0.0.1 at 2016-08-06 17:25:55 +0200 Started GET "/invoice_bar/receipts/2010011235.pdf" for 127.0.0.1 at 2016-08-06 17:27:27 +0200 Processing by InvoiceBar::ReceiptsController#show as PDF Parameters: {"number"=>"2010011235"} InvoiceBar::User Load (0.1ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Receipt Load (0.1ms) SELECT "invoice_bar_receipts".* FROM "invoice_bar_receipts" WHERE "invoice_bar_receipts"."user_id" = ? AND "invoice_bar_receipts"."number" = ? ORDER BY "invoice_bar_receipts"."id" ASC LIMIT 1 [["user_id", 1], ["number", "2010011235"]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 5], ["addressable_type", "InvoiceBar::Receipt#contact_address"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."user_id" = ? AND "invoice_bar_accounts"."id" = ? LIMIT 1 [["user_id", 1], ["id", 1]] InvoiceBar::Address Load (0.1ms) SELECT "invoice_bar_addresses".* FROM "invoice_bar_addresses" WHERE "invoice_bar_addresses"."addressable_id" = ? AND "invoice_bar_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "InvoiceBar::User"]] InvoiceBar::Account Load (0.1ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Item Load (0.1ms) SELECT "invoice_bar_items".* FROM "invoice_bar_items" WHERE "invoice_bar_items"."itemable_id" = ? AND "invoice_bar_items"."itemable_type" = ? [["itemable_id", 5], ["itemable_type", "InvoiceBar::Receipt"]] Rendered text template (0.0ms) Sent data (0.6ms) Completed 200 OK in 44ms (Views: 0.4ms | ActiveRecord: 0.7ms)