(90.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (83.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" SQL (0.6ms) DELETE FROM "invoice_bar_currencies" SQLite3::SQLException: no such table: invoice_bar_currencies: DELETE FROM "invoice_bar_currencies" SQL (0.6ms) DELETE FROM "invoice_bar_currencies" SQLite3::SQLException: no such table: invoice_bar_currencies: DELETE FROM "invoice_bar_currencies"  (78.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (84.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateInvoiceBarAddresses (20121012142346)  (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/invoicebar/db/migrate/20121012142346_create_invoice_bar_addresses.rb:13)  (1.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142346"]]  (85.7ms) commit transaction Migrating to CreateInvoiceBarInvoiceTemplates (20121012142357)  (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/invoicebar/db/migrate/20121012142357_create_invoice_bar_invoice_templates.rb:15)  (0.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142357"]]  (94.8ms) commit transaction Migrating to CreateInvoiceBarInvoices (20121012142418)  (0.5ms) 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/invoicebar/db/migrate/20121012142418_create_invoice_bar_invoices.rb:19)  (1.0ms) 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.3ms) CREATE INDEX "index_invoice_bar_invoices_on_number" ON "invoice_bar_invoices" ("number")  (0.5ms)  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.3ms) 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.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142418"]]  (98.0ms) commit transaction Migrating to CreateInvoiceBarAccounts (20121012142428)  (0.3ms) 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/invoicebar/db/migrate/20121012142428_create_invoice_bar_accounts.rb:12)  (2.1ms) 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.6ms) CREATE INDEX "index_invoice_bar_accounts_on_name" ON "invoice_bar_accounts" ("name") SQL (2.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142428"]]  (91.7ms) commit transaction Migrating to CreateInvoiceBarItems (20121012142442)  (0.4ms) 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/invoicebar/db/migrate/20121012142442_create_invoice_bar_items.rb:12)  (2.4ms) 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.7ms) CREATE INDEX "index_invoice_bar_items_on_name" ON "invoice_bar_items" ("name") SQL (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142442"]]  (100.7ms) commit transaction Migrating to CreateInvoiceBarCurrencies (20121012142454)  (0.3ms) begin transaction  (2.0ms) 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 (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142454"]]  (113.5ms) commit transaction Migrating to CreateInvoiceBarContacts (20121012142502)  (0.3ms) 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/invoicebar/db/migrate/20121012142502_create_invoice_bar_contacts.rb:13)  (1.4ms) 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.4ms) 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.4ms) CREATE INDEX "index_invoice_bar_contacts_on_tax_id" ON "invoice_bar_contacts" ("tax_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012142502"]]  (110.7ms) commit transaction Migrating to CreateInvoiceBarUsers (20121012144941)  (0.2ms) 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/invoicebar/db/migrate/20121012144941_create_invoice_bar_users.rb:18)  (0.9ms) 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.3ms) 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.3ms) CREATE INDEX "index_invoice_bar_users_on_remember_me_token" ON "invoice_bar_users" ("remember_me_token") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121012144941"]]  (124.6ms) commit transaction Migrating to CreateInvoiceBarReceipts (20121205185321)  (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/invoicebar/db/migrate/20121205185321_create_invoice_bar_receipts.rb:14)  (0.5ms) 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.1ms) CREATE INDEX "index_invoice_bar_receipts_on_number" ON "invoice_bar_receipts" ("number")  (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) 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.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.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", "20121205185321"]]  (110.6ms) commit transaction Migrating to CreateInvoiceBarReceiptTemplates (20121205185353)  (0.3ms) 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/invoicebar/db/migrate/20121205185353_create_invoice_bar_receipt_templates.rb:13)  (0.7ms) 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.4ms) CREATE INDEX "index_invoice_bar_receipt_templates_on_name" ON "invoice_bar_receipt_templates" ("name") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20121205185353"]]  (104.8ms) commit transaction Migrating to AddRefFieldsDirectlyToInvoices (20160605163159)  (0.7ms) begin transaction  (1.3ms) ALTER TABLE "invoice_bar_invoices" ADD "user_name" varchar  (0.7ms) ALTER TABLE "invoice_bar_invoices" ADD "user_tax_id" integer  (0.7ms) ALTER TABLE "invoice_bar_invoices" ADD "user_tax_id2" varchar SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160605163159"]]  (88.5ms) commit transaction Migrating to AddRefFieldsDirectlyToReceipts (20160605163231)  (0.1ms) begin transaction  (0.7ms) ALTER TABLE "invoice_bar_receipts" ADD "user_name" varchar  (0.4ms) ALTER TABLE "invoice_bar_receipts" ADD "user_tax_id" integer  (0.3ms) ALTER TABLE "invoice_bar_receipts" ADD "user_tax_id2" varchar SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160605163231"]]  (87.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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.1ms)  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.1ms) 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.1ms) 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.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.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.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.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.1ms)  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' SQL (84.2ms) DELETE FROM "invoice_bar_currencies" SQL (101.1ms) DELETE FROM "invoice_bar_users" SQL (55.2ms) DELETE FROM "invoice_bar_accounts"  (0.1ms) begin transaction InvoiceBar::Currency Exists (0.2ms) 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.9ms) INSERT INTO "invoice_bar_currencies" ("name", "symbol", "priority") VALUES (?, ?, ?) [["name", "Euro"], ["symbol", "€"], ["priority", 0]]  (71.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" = 'test@test.cz' LIMIT 1 SQL (0.4ms) INSERT INTO "invoice_bar_users" ("name", "email", "tax_id", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Name 1"], ["email", "test@test.cz"], ["tax_id", 178974], ["salt", "NmsVXkEX8gpQxVUVwtZg"], ["crypted_password", "$2a$10$.gX5AjGXOm6Wme1zQsctyeDOb1rNq/3z5/82WU.Z/L.WIufZZrJNa"], ["created_at", "2016-07-08 10:56:24.920088"], ["updated_at", "2016-07-08 10:56:24.920088"]] 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::User"], ["addressable_id", 1], ["created_at", "2016-07-08 10:56:24.921855"], ["updated_at", "2016-07-08 10:56:24.921855"]]  (67.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 1"], ["user_id", 1]] SQL (0.3ms) INSERT INTO "invoice_bar_accounts" ("name", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Name 1"], ["user_id", 1], ["created_at", "2016-07-08 10:56:25.008671"], ["updated_at", "2016-07-08 10:56:25.008671"]]  (69.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", "201001121"], ["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", "201001121"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.110272"], ["updated_at", "2016-07-08 10:56:25.110272"]] 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-07-08 10:56:25.112024"], ["updated_at", "2016-07-08 10:56:25.112024"]] 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-07-08 10:56:25.113573"], ["updated_at", "2016-07-08 10:56:25.113573"]] 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-07-08 10:56:25.114965"], ["updated_at", "2016-07-08 10:56:25.114965"]]  (71.2ms) 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", "201001122"], ["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", "201001122"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.194969"], ["updated_at", "2016-07-08 10:56:25.194969"]] 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-07-08 10:56:25.196578"], ["updated_at", "2016-07-08 10:56:25.196578"]] 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", 2], ["created_at", "2016-07-08 10:56:25.198465"], ["updated_at", "2016-07-08 10:56:25.198465"]] 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-07-08 10:56:25.200693"], ["updated_at", "2016-07-08 10:56:25.200693"]]  (52.7ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.261356"], ["updated_at", "2016-07-08 10:56:25.261356"]] 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-07-08 10:56:25.263188"], ["updated_at", "2016-07-08 10:56:25.263188"]] 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", 3], ["created_at", "2016-07-08 10:56:25.264679"], ["updated_at", "2016-07-08 10:56:25.264679"]] 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-07-08 10:56:25.266201"], ["updated_at", "2016-07-08 10:56:25.266201"]]  (53.8ms) 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", "201001124"], ["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", "201001124"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.327526"], ["updated_at", "2016-07-08 10:56:25.327526"]] 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-07-08 10:56:25.329149"], ["updated_at", "2016-07-08 10:56:25.329149"]] 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-07-08 10:56:25.330750"], ["updated_at", "2016-07-08 10:56:25.330750"]] 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-07-08 10:56:25.332191"], ["updated_at", "2016-07-08 10:56:25.332191"]]  (63.2ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.402306"], ["updated_at", "2016-07-08 10:56:25.402306"]] 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-07-08 10:56:25.403922"], ["updated_at", "2016-07-08 10:56:25.403922"]] 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", 5], ["created_at", "2016-07-08 10:56:25.405335"], ["updated_at", "2016-07-08 10:56:25.405335"]] 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-07-08 10:56:25.406763"], ["updated_at", "2016-07-08 10:56:25.406763"]]  (63.6ms) 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", "201001126"], ["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", "201001126"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.477491"], ["updated_at", "2016-07-08 10:56:25.477491"]] 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::Invoice"], ["created_at", "2016-07-08 10:56:25.479132"], ["updated_at", "2016-07-08 10:56:25.479132"]] 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-07-08 10:56:25.480540"], ["updated_at", "2016-07-08 10:56:25.480540"]] 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-07-08 10:56:25.481990"], ["updated_at", "2016-07-08 10:56:25.481990"]]  (46.7ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.535561"], ["updated_at", "2016-07-08 10:56:25.535561"]] 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-07-08 10:56:25.537146"], ["updated_at", "2016-07-08 10:56:25.537146"]] 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", 7], ["created_at", "2016-07-08 10:56:25.538555"], ["updated_at", "2016-07-08 10:56:25.538555"]] 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-07-08 10:56:25.539924"], ["updated_at", "2016-07-08 10:56:25.539924"]]  (55.6ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.602303"], ["updated_at", "2016-07-08 10:56:25.602303"]] 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", 8], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:25.603944"], ["updated_at", "2016-07-08 10:56:25.603944"]] 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-07-08 10:56:25.605334"], ["updated_at", "2016-07-08 10:56:25.605334"]] 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-07-08 10:56:25.607176"], ["updated_at", "2016-07-08 10:56:25.607176"]]  (54.9ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.669201"], ["updated_at", "2016-07-08 10:56:25.669201"]] 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::Invoice"], ["created_at", "2016-07-08 10:56:25.670845"], ["updated_at", "2016-07-08 10:56:25.670845"]] 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", 9], ["created_at", "2016-07-08 10:56:25.672264"], ["updated_at", "2016-07-08 10:56:25.672264"]] 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", 9], ["created_at", "2016-07-08 10:56:25.673654"], ["updated_at", "2016-07-08 10:56:25.673654"]]  (63.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", "2010011210"], ["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", "2010011210"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.743574"], ["updated_at", "2016-07-08 10:56:25.743574"]] 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", 10], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:25.745031"], ["updated_at", "2016-07-08 10:56:25.745031"]] 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-07-08 10:56:25.746286"], ["updated_at", "2016-07-08 10:56:25.746286"]] 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-07-08 10:56:25.747502"], ["updated_at", "2016-07-08 10:56:25.747502"]]  (72.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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.829719"], ["updated_at", "2016-07-08 10:56:25.829719"]] 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-07-08 10:56:25.831765"], ["updated_at", "2016-07-08 10:56:25.831765"]] 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", 11], ["created_at", "2016-07-08 10:56:25.834398"], ["updated_at", "2016-07-08 10:56:25.834398"]] 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", 11], ["created_at", "2016-07-08 10:56:25.836279"], ["updated_at", "2016-07-08 10:56:25.836279"]]  (67.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", "2010011212"], ["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", "2010011212"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.918937"], ["updated_at", "2016-07-08 10:56:25.918937"]] 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-07-08 10:56:25.920703"], ["updated_at", "2016-07-08 10:56:25.920703"]] 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", 12], ["created_at", "2016-07-08 10:56:25.922230"], ["updated_at", "2016-07-08 10:56:25.922230"]] 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-07-08 10:56:25.923800"], ["updated_at", "2016-07-08 10:56:25.923800"]]  (54.9ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:25.986311"], ["updated_at", "2016-07-08 10:56:25.986311"]] 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::Invoice"], ["created_at", "2016-07-08 10:56:25.987935"], ["updated_at", "2016-07-08 10:56:25.987935"]] 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", 13], ["created_at", "2016-07-08 10:56:25.989418"], ["updated_at", "2016-07-08 10:56:25.989418"]] 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-07-08 10:56:25.990894"], ["updated_at", "2016-07-08 10:56:25.990894"]]  (63.3ms) commit transaction  (0.3ms) begin transaction  (0.4ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011214"], ["user_id", 1]] SQL (1.5ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.076387"], ["updated_at", "2016-07-08 10:56:26.076387"]] SQL (0.8ms) 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-07-08 10:56:26.083487"], ["updated_at", "2016-07-08 10:56:26.083487"]] 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::Invoice#contact_address"], ["addressable_id", 14], ["created_at", "2016-07-08 10:56:26.089756"], ["updated_at", "2016-07-08 10:56:26.089756"]] 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", 14], ["created_at", "2016-07-08 10:56:26.094640"], ["updated_at", "2016-07-08 10:56:26.094640"]]  (68.2ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.174589"], ["updated_at", "2016-07-08 10:56:26.174589"]] 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::Invoice"], ["created_at", "2016-07-08 10:56:26.176839"], ["updated_at", "2016-07-08 10:56:26.176839"]] 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::Invoice#contact_address"], ["addressable_id", 15], ["created_at", "2016-07-08 10:56:26.178428"], ["updated_at", "2016-07-08 10:56:26.178428"]] 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", 15], ["created_at", "2016-07-08 10:56:26.181735"], ["updated_at", "2016-07-08 10:56:26.181735"]]  (61.2ms) commit transaction  (0.1ms) begin transaction  (0.5ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011216"], ["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", "2010011216"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.254301"], ["updated_at", "2016-07-08 10:56:26.254301"]] 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::Invoice"], ["created_at", "2016-07-08 10:56:26.255940"], ["updated_at", "2016-07-08 10:56:26.255940"]] 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-07-08 10:56:26.257363"], ["updated_at", "2016-07-08 10:56:26.257363"]] 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-07-08 10:56:26.258767"], ["updated_at", "2016-07-08 10:56:26.258767"]]  (70.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", "2010011217"], ["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", "2010011217"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.336734"], ["updated_at", "2016-07-08 10:56:26.336734"]] 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-07-08 10:56:26.338466"], ["updated_at", "2016-07-08 10:56:26.338466"]] 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-07-08 10:56:26.339972"], ["updated_at", "2016-07-08 10:56:26.339972"]] 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-07-08 10:56:26.341538"], ["updated_at", "2016-07-08 10:56:26.341538"]]  (102.6ms) 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", "2010011218"], ["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", "2010011218"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.451030"], ["updated_at", "2016-07-08 10:56:26.451030"]] 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", 18], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:26.452567"], ["updated_at", "2016-07-08 10:56:26.452567"]] 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", 18], ["created_at", "2016-07-08 10:56:26.453861"], ["updated_at", "2016-07-08 10:56:26.453861"]] 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-07-08 10:56:26.455248"], ["updated_at", "2016-07-08 10:56:26.455248"]]  (95.9ms) 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", "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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.558217"], ["updated_at", "2016-07-08 10:56:26.558217"]] 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", 19], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:26.559799"], ["updated_at", "2016-07-08 10:56:26.559799"]] 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-07-08 10:56:26.561140"], ["updated_at", "2016-07-08 10:56:26.561140"]] 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-07-08 10:56:26.562641"], ["updated_at", "2016-07-08 10:56:26.562641"]]  (88.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", "2010011220"], ["user_id", 1]] SQL (0.6ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.662826"], ["updated_at", "2016-07-08 10:56:26.662826"]] 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", 20], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:26.665681"], ["updated_at", "2016-07-08 10:56:26.665681"]] 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", 20], ["created_at", "2016-07-08 10:56:26.668461"], ["updated_at", "2016-07-08 10:56:26.668461"]] 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-07-08 10:56:26.670674"], ["updated_at", "2016-07-08 10:56:26.670674"]]  (88.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", "2010011221"], ["user_id", 1]] SQL (0.6ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.771989"], ["updated_at", "2016-07-08 10:56:26.771989"]] 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", 21], ["itemable_type", "InvoiceBar::Invoice"], ["created_at", "2016-07-08 10:56:26.774994"], ["updated_at", "2016-07-08 10:56:26.774994"]] SQL (0.4ms) 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-07-08 10:56:26.777729"], ["updated_at", "2016-07-08 10:56:26.777729"]] 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", 21], ["created_at", "2016-07-08 10:56:26.781521"], ["updated_at", "2016-07-08 10:56:26.781521"]]  (85.2ms) commit transaction  (0.3ms) begin transaction  (0.4ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011222"], ["user_id", 1]] SQL (1.1ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:26.901516"], ["updated_at", "2016-07-08 10:56:26.901516"]] SQL (0.4ms) 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-07-08 10:56:26.907554"], ["updated_at", "2016-07-08 10:56:26.907554"]] SQL (0.6ms) 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-07-08 10:56:26.914554"], ["updated_at", "2016-07-08 10:56:26.914554"]] 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#user_address"], ["addressable_id", 22], ["created_at", "2016-07-08 10:56:26.920704"], ["updated_at", "2016-07-08 10:56:26.920704"]]  (100.8ms) commit transaction  (0.3ms) begin transaction  (1.4ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011223"], ["user_id", 1]] SQL (0.9ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:27.053948"], ["updated_at", "2016-07-08 10:56:27.053948"]] SQL (0.6ms) 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-07-08 10:56:27.059037"], ["updated_at", "2016-07-08 10:56:27.059037"]] SQL (0.4ms) 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-07-08 10:56:27.064195"], ["updated_at", "2016-07-08 10:56:27.064195"]] 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#user_address"], ["addressable_id", 23], ["created_at", "2016-07-08 10:56:27.070623"], ["updated_at", "2016-07-08 10:56:27.070623"]]  (93.3ms) 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.8ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:27.182072"], ["updated_at", "2016-07-08 10:56:27.182072"]] SQL (0.4ms) 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-07-08 10:56:27.185847"], ["updated_at", "2016-07-08 10:56:27.185847"]] 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", 24], ["created_at", "2016-07-08 10:56:27.188967"], ["updated_at", "2016-07-08 10:56:27.188967"]] 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", 24], ["created_at", "2016-07-08 10:56:27.192030"], ["updated_at", "2016-07-08 10:56:27.192030"]]  (91.3ms) commit transaction  (0.2ms) begin transaction  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "2010011225"], ["user_id", 1]] SQL (0.8ms) 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-07-08"], ["due_date", "2016-07-22"], ["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-07-08 10:56:27.299451"], ["updated_at", "2016-07-08 10:56:27.299451"]] SQL (0.4ms) 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-07-08 10:56:27.302733"], ["updated_at", "2016-07-08 10:56:27.302733"]] 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", 25], ["created_at", "2016-07-08 10:56:27.305739"], ["updated_at", "2016-07-08 10:56:27.305739"]] 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", 25], ["created_at", "2016-07-08 10:56:27.308968"], ["updated_at", "2016-07-08 10:56:27.308968"]]  (89.3ms) commit transaction Started GET "/" for ::1 at 2016-07-08 12:56:49 +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 (2.7ms) Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms) Started GET "/invoicebar" for ::1 at 2016-07-08 12:57:15 +0200 ActionController::RoutingError (No route matches [GET] "/invoicebar"): actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21: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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (16.2ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (19.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (28.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (128.2ms) Started GET "/invoice_bar" for ::1 at 2016-07-08 12:57:23 +0200 Processing by InvoiceBar::DashboardController#index as HTML Redirected to http://localhost:3000/invoice_bar/login Filter chain halted as :require_login rendered or redirected Completed 302 Found in 400ms (ActiveRecord: 0.0ms) Started GET "/invoice_bar/login" for ::1 at 2016-07-08 12:57:23 +0200 Processing by InvoiceBar::SessionsController#new as HTML Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/sessions/new.html.erb within invoice_bar/layouts/signed_out (1.8ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (3713.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.6ms) Completed 200 OK in 3725ms (Views: 3723.9ms | ActiveRecord: 0.0ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/bootstrap.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for ::1 at 2016-07-08 12:57:27 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui.css?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-button.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/bootstrap.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery_ujs.js?body=1" for ::1 at 2016-07-08 12:57:28 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery-ui.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for ::1 at 2016-07-08 12:57:29 +0200 Started POST "/invoice_bar/sessions" for ::1 at 2016-07-08 12:57:37 +0200 Processing by InvoiceBar::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"4REqjXTIGp2Z9Yw4usp8Yj4NhjvAp/eAEtNlTUfIqi8doCe4IF/etjutul6EdBqaWD2KrmFc3qb7K7Juk4unyw==", "email"=>"test@test.cz", "password"=>"[FILTERED]", "commit"=>"Přihlásit"} InvoiceBar::User Load (0.4ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."email" = 'test@test.cz' ORDER BY "invoice_bar_users"."id" ASC LIMIT 1 Redirected to http://localhost:3000/invoice_bar/ Completed 302 Found in 287ms (ActiveRecord: 6.6ms) Started GET "/invoice_bar/" for ::1 at 2016-07-08 12:57:37 +0200 Processing by InvoiceBar::DashboardController#index as HTML InvoiceBar::User Load (0.6ms) 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 31ms (ActiveRecord: 0.6ms) Started GET "/invoice_bar/invoices" for ::1 at 2016-07-08 12:57:37 +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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (2.5ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.9ms) 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.4ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]]  (0.3ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (188.8ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (48.1ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.9ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 284ms (Views: 241.8ms | ActiveRecord: 4.7ms) Started GET "/assets/glyphicons-halflings-white.png" for ::1 at 2016-07-08 12:57:38 +0200 Started GET "/invoice_bar/invoices/received?action=index&controller=invoice_bar%2Finvoices&page=1" for ::1 at 2016-07-08 12:57:46 +0200 Processing by InvoiceBar::InvoicesController#received as HTML Parameters: {"page"=>"1", "method"=>:get} 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 action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (0.8ms) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.9ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? AND "invoice_bar_invoices"."issuer" = ? LIMIT 25 OFFSET 0 [["user_id", 1], ["issuer", "f"]]  (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/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (23.0ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (44.3ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (4.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.3ms) Completed 200 OK in 90ms (Views: 81.0ms | ActiveRecord: 1.3ms) Started GET "/invoice_bar/invoices/filter?action=received&controller=invoice_bar%2Finvoices&method=get&page=1&sort=issue_date" for ::1 at 2016-07-08 12:57:49 +0200 Processing by InvoiceBar::InvoicesController#filter as HTML Parameters: {"method"=>:get, "page"=>"1", "sort"=>"issue_date"} 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 action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:31) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:34) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (1.9ms) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:45) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:48) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:51) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:54) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:57) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:65) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:68) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:71) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:74) DEPRECATION WARNING: Calling URL helpers with string keys action, controller is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (2.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? ORDER BY issue_date LIMIT 25 OFFSET 0 [["user_id", 1]] InvoiceBar::Account Load (0.3ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Currency Load (0.4ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) 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", 1]] 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", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) 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", 1]] CACHE (0.1ms) 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.2ms) 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (154.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (41.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (3.0ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 208ms (Views: 200.1ms | ActiveRecord: 5.1ms) Started GET "/invoice_bar/invoices/new" for ::1 at 2016-07-08 12:57:54 +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 (2.0ms) 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/invoicebar/app/views/invoice_bar/forms/_errors.html.erb (3.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.3ms) SELECT COUNT(*) FROM "invoice_bar_contacts" WHERE "invoice_bar_contacts"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_contact_main_fields.html.erb (13.6ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_address_fields.html.erb (2.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/invoicebar/app/views/invoice_bar/forms/_payment_fields.html.erb (5.2ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (3.7ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_item_fields.html.erb (6.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_document.html.erb (82.1ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/new.html.erb within invoice_bar/layouts/signed_in (84.6ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (37.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.0ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.2ms) Completed 200 OK in 252ms (Views: 131.8ms | ActiveRecord: 5.4ms) Started GET "/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png" for ::1 at 2016-07-08 12:57:55 +0200 Started POST "/invoice_bar/invoices" for ::1 at 2016-07-08 12:58:18 +0200 Processing by InvoiceBar::InvoicesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1yVP76acwfFhl7cTGPQabDD51iHUgJNp9ZALVK9m3GMrlELa8gsF2sPPgXUmSnyUVsnatHV7uk8caNx3eyXRhw==", "invoice"=>{"number"=>"VF201670026", "issuer"=>"true", "contact_name"=>"gfg", "contact_tax_id"=>"45678912", "contact_tax_id2"=>"", "address_attributes"=>{"street"=>"gs", "street_number"=>"44", "postcode"=>"444", "city"=>"gfgd", "city_part"=>"", "extra_address_line"=>""}, "account_id"=>"1", "payment_identification_number"=>"", "issue_date"=>"2016-07-08", "due_date"=>"2016-07-22", "user_id"=>"", "items_attributes"=>{"0"=>{"name"=>"fdf", "number"=>"5", "unit"=>"L", "price"=>"10,00", "id"=>"", "_destroy"=>"false"}}}, "issuer_true_hidden"=>"VF201670026", "issuer_false_hidden"=>"PF201670001", "commit"=>"Uložit"} InvoiceBar::User Load (1.3ms) 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::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.6ms) begin transaction  (1.7ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."number" = ? AND "invoice_bar_invoices"."user_id" = ? [["number", "VF201670026"], ["user_id", 1]] SQL (1.3ms) INSERT INTO "invoice_bar_invoices" ("number", "contact_tax_id2", "contact_tax_id", "contact_name", "issue_date", "due_date", "account_id", "user_name", "user_tax_id", "user_tax_id2", "user_id", "amount", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["number", "VF201670026"], ["contact_tax_id2", ""], ["contact_tax_id", 45678912], ["contact_name", "gfg"], ["issue_date", "2016-07-08"], ["due_date", "2016-07-22"], ["account_id", 1], ["user_name", "Name 1"], ["user_tax_id", 178974], ["user_tax_id2", "178974"], ["user_id", 1], ["amount", 5000], ["created_at", "2016-07-08 10:58:18.095785"], ["updated_at", "2016-07-08 10:58:18.095785"]] SQL (0.3ms) INSERT INTO "invoice_bar_items" ("name", "number", "price", "unit", "itemable_type", "amount", "itemable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["name", "fdf"], ["number", 5], ["price", 1000], ["unit", "L"], ["itemable_type", "InvoiceBar::Invoice"], ["amount", 5000], ["itemable_id", 26], ["created_at", "2016-07-08 10:58:18.100128"], ["updated_at", "2016-07-08 10:58:18.100128"]] SQL (0.4ms) 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", "gs"], ["street_number", "44"], ["city", "gfgd"], ["city_part", ""], ["postcode", "444"], ["extra_address_line", ""], ["addressable_type", "InvoiceBar::Invoice#contact_address"], ["addressable_id", 26], ["created_at", "2016-07-08 10:58:18.101994"], ["updated_at", "2016-07-08 10:58:18.101994"]] 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#user_address"], ["addressable_id", 26], ["created_at", "2016-07-08 10:58:18.103761"], ["updated_at", "2016-07-08 10:58:18.103761"]]  (106.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", "VF201670026"], ["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", "VF201670026"], ["user_id", 1]]  (0.6ms) commit transaction Redirected to http://localhost:3000/invoice_bar/invoices/26 Completed 302 Found in 167ms (ActiveRecord: 113.8ms) Started GET "/invoice_bar/invoices/26" for ::1 at 2016-07-08 12:58:18 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"26"} 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.7ms) 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", "26"]] Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.9ms) NoMethodError (undefined method `address' for nil:NilClass): /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:20: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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) 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 (1.4ms) 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/invoices" for ::1 at 2016-07-08 12:59:44 +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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (1.1ms) 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.5ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.2ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] 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", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_accounts".* FROM "invoice_bar_accounts" WHERE "invoice_bar_accounts"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (138.3ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (53.4ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 205ms (Views: 197.1ms | ActiveRecord: 3.6ms) Started GET "/invoice_bar/invoices?page=2" for ::1 at 2016-07-08 12:59:48 +0200 Processing by InvoiceBar::InvoicesController#index as HTML Parameters: {"page"=>"2"} InvoiceBar::User Load (0.5ms) 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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296137599400 at /home/strzibny/projects/invoicebar/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 25 [["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", 1]]  (0.4ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (55.2ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (49.3ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (1.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 141ms (Views: 114.8ms | ActiveRecord: 1.7ms) Started GET "/invoice_bar/invoices?page=2" for ::1 at 2016-07-08 13:01:31 +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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (4.1ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740 at /home/strzibny/projects/invoicebar/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 25 [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (109.8ms) Completed 500 Internal Server Error in 114ms (ActiveRecord: 0.6ms) ActionView::Template::Error (undefined method `show_invoice' for #<#:0x007fde316c6f58>): 85: <% @invoices.each do |invoice| %> 86: 87: 88: <%= link_to show_invoice(number: invoice.number) do %><%= invoice.number %><% end %> 89: 90: 91: <%= invoice.contact_name %> /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:88:in `block in __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:85:in `__home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296144323740' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' 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' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /usr/share/ruby/benchmark.rb:308:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:11:in `block (2 levels) in respond_on_index' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:10:in `respond_on_index' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:13:in `index' 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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) 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.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.4ms) Started GET "/invoice_bar/invoices?page=2" for ::1 at 2016-07-08 13:01:39 +0200 Processing by InvoiceBar::InvoicesController#index as HTML Parameters: {"page"=>"2"} 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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_filter.html.erb (2.7ms) DEPRECATION WARNING: Calling URL helpers with string keys controller, action is deprecated. Use symbols instead. (called from __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.1ms) SELECT "invoice_bar_invoices".* FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? LIMIT 25 OFFSET 25 [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (95.2ms) Completed 500 Internal Server Error in 102ms (ActiveRecord: 0.3ms) ActionView::Template::Error (undefined method `show_invoice_path' for #<#:0x005581fe4b8fb8> Did you mean? new_invoice_path): 85: <% @invoices.each do |invoice| %> 86: 87: 88: <%= link_to show_invoice_path(number: invoice.number) do %><%= invoice.number %><% end %> 89: 90: 91: <%= invoice.contact_name %> /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:88:in `block in __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:85:in `__home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_47008402738720' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' 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' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /usr/share/ruby/benchmark.rb:308:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:11:in `block (2 levels) in respond_on_index' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:10:in `respond_on_index' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:13:in `index' 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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.0ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.9ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (48.3ms) Started GET "/invoice_bar/invoices?page=2" for ::1 at 2016-07-08 13:01:48 +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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040 at /home/strzibny/projects/invoicebar/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]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (85.6ms) Completed 500 Internal Server Error in 90ms (ActiveRecord: 0.4ms) ActionView::Template::Error (undefined method `show_invoices_path' for #<#:0x007fde30806a68> Did you mean? new_invoice_path): 85: <% @invoices.each do |invoice| %> 86: 87: 88: <%= link_to show_invoices_path(number: invoice.number) do %><%= invoice.number %><% end %> 89: 90: 91: <%= invoice.contact_name %> /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:88:in `block in __home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:85:in `__home_strzibny_projects_invoicebar_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296136590040' actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' actionview (4.2.4) lib/action_view/template.rb:143:in `render' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' 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' actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /usr/share/ruby/benchmark.rb:308:in `realtime' activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:11:in `block (2 levels) in respond_on_index' actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/application_controller.rb:10:in `respond_on_index' /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:13:in `index' 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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.8ms) 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 (1.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.6ms) Started GET "/invoice_bar/invoices?page=2" for ::1 at 2016-07-08 13:02:28 +0200 Processing by InvoiceBar::InvoicesController#index as HTML Parameters: {"page"=>"2"} InvoiceBar::User Load (0.4ms) 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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:37) Rendered /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/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_invoicebar_app_views_invoice_bar_invoices_index_html_erb___274715355547158156_70296147486280 at /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb:77) InvoiceBar::Invoice Load (0.1ms) 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", 1]]  (0.1ms) SELECT COUNT(*) FROM "invoice_bar_invoices" WHERE "invoice_bar_invoices"."user_id" = ? [["user_id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/index.html.erb within invoice_bar/layouts/signed_in (35.8ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (30.5ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (2.1ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.1ms) Completed 200 OK in 85ms (Views: 77.7ms | ActiveRecord: 0.8ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui.css?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-button.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery_ujs.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for ::1 at 2016-07-08 13:02:28 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/assets/glyphicons-halflings-white.png" for ::1 at 2016-07-08 13:02:29 +0200 Started GET "/invoice_bar/invoices/VF201670026" for ::1 at 2016-07-08 13:02:31 +0200 Processing by InvoiceBar::InvoicesController#show as HTML Parameters: {"number"=>"VF201670026"} 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", "VF201670026"]] 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", 26], ["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.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", 26], ["addressable_type", "InvoiceBar::Invoice#user_address"]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_address.html.erb (0.9ms) Rendered /home/strzibny/projects/invoicebar/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", 26], ["itemable_type", "InvoiceBar::Invoice"]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_items.html.erb (2.5ms) InvoiceBar::Currency Load (0.1ms) SELECT "invoice_bar_currencies".* FROM "invoice_bar_currencies" WHERE "invoice_bar_currencies"."id" = ? LIMIT 1 [["id", 1]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/documents/_show.html.erb (23.4ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/show.html.erb within invoice_bar/layouts/signed_in (25.3ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_head.html.erb (36.1ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_navbar.html.erb (4.7ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/layouts/_messages.html.erb (0.3ms) Completed 200 OK in 79ms (Views: 72.7ms | ActiveRecord: 1.4ms) Started GET "/assets/invoice_bar/invoice_bar.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/invoice_bar/document.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/invoice_bar/tables.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/invoice_bar/forms.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-responsive.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/theme.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/core.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/accordion.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/menu.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/dialog.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/resizable.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/draggable.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/button.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/datepicker.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/autocomplete.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/selectable.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/selectmenu.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/progressbar.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/slider.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/sortable.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/base.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/spinner.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/tooltip.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/tabs.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/all.css?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-dropdown.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-modal.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-transition.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-scrollspy.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-collapse.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-tab.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/core.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-affix.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-carousel.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-button.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/mouse.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/draggable.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-alert.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/dialog.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-popover.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-typeahead.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/bootstrap-tooltip.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery_ujs.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/accordion.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/widget.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/position.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/menu.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/autocomplete.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/button.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/datepicker.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/resizable.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/droppable.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-fade.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-explode.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-drop.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-highlight.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-clip.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-fold.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-bounce.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-blind.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-size.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-scale.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-slide.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-shake.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-transfer.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/progressbar.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-pulsate.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/slider.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/effect-puff.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/sortable.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/tooltip.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/spinner.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/tabs.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/selectmenu.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery-ui/selectable.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/invoice_bar/invoice_bar.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/assets/jquery_nested_form.js?body=1" for ::1 at 2016-07-08 13:02:32 +0200 Started GET "/invoice_bar/invoices/26/create_receipt_for_invoice" for ::1 at 2016-07-08 13:14:44 +0200 Processing by InvoiceBar::InvoicesController#create_receipt_for_invoice as HTML Parameters: {"number"=>"26"} InvoiceBar::User Load (0.6ms) SELECT "invoice_bar_users".* FROM "invoice_bar_users" WHERE "invoice_bar_users"."id" = ? LIMIT 1 [["id", 1]] InvoiceBar::Invoice Load (10.5ms) 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", "26"]] Completed 500 Internal Server Error in 329ms (ActiveRecord: 55.3ms) NoMethodError (undefined method `receipt_id' for nil:NilClass): /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:54:in `create_receipt_for_invoice' 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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.3ms) Started GET "/invoice_bar/invoices/26/create_receipt_for_invoice" for ::1 at 2016-07-08 13:14:47 +0200 Processing by InvoiceBar::InvoicesController#create_receipt_for_invoice as HTML Parameters: {"number"=>"26"} 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.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", "26"]] Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.7ms) NoMethodError (undefined method `receipt_id' for nil:NilClass): /home/strzibny/projects/invoicebar/invoicebar/app/controllers/invoice_bar/invoices_controller.rb:54:in `create_receipt_for_invoice' 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: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: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 `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:140:in `service' /usr/share/ruby/webrick/httpserver.rb:96:in `run' /usr/share/ruby/webrick/server.rb:296:in `block in start_thread' Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.5ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.1ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (4.4ms) Rendered /home/strzibny/.gem/ruby/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.5ms) Started GET "/invoice_bar/invoices/26/edit" for ::1 at 2016-07-08 13:15:24 +0200 Processing by InvoiceBar::InvoicesController#edit as HTML Parameters: {"number"=>"26"} 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 (10.9ms) 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", "26"]] Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/forms/_document.html.erb (1.4ms) Rendered /home/strzibny/projects/invoicebar/invoicebar/app/views/invoice_bar/invoices/edit.html.erb within invoice_bar/layouts/signed_in (14.4ms) Completed 500 Internal Server Error in 176ms (ActiveRecord: 11.7ms) ActionView::Template::Error (First argument in form cannot contain nil or be empty): 1: <%# Form for invoices, bills and receipts %> 2: <%= nested_form_for(document) do |f| %> 3: <%= render 'invoice_bar/forms/errors', model: document %> 4: <% if document.instance_of? InvoiceBar::Invoice or document.instance_of? InvoiceBar::Receipt %> 5: