spec/dummy/log/development.log in cadenero-0.0.2.a3 vs spec/dummy/log/development.log in cadenero-0.0.2.b1

- old
+ new

@@ -146,5 +146,214 @@  (0.1ms) COMMIT  (0.6ms) BEGIN SQL (0.5ms) INSERT INTO "public"."cadenero_members" ("account_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4) RETURNING "id" [["account_id", 5], ["created_at", Sat, 29 Jun 2013 02:11:30 UTC +00:00], ["updated_at", Sat, 29 Jun 2013 02:11:30 UTC +00:00], ["user_id", 5]]  (1.2ms) COMMIT Completed 201 Created in 292ms (Views: 0.3ms | ActiveRecord: 77.7ms) +Connecting to database specified by database.yml + + +Started POST "/v1/accounts" for 127.0.0.1 at 2013-06-29 06:22:25 -0500 +Processing by Cadenero::V1::AccountsController#create as */* + Parameters: {"account"=>{"name"=>"Testy", "subdomain"=>"tested", "owner_attributes"=>{"email"=>"testy2@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}, "default"=>:json} +  (0.1ms) BEGIN + Cadenero::V1::Account Exists (4.1ms) SELECT 1 AS one FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."subdomain" = 'tested' LIMIT 1 + SQL (7.1ms) INSERT INTO "public"."cadenero_users" ("created_at", "email", "password_digest", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 29 Jun 2013 11:22:25 UTC +00:00], ["email", "testy2@example.com"], ["password_digest", "$2a$10$M/NWsfAveHF7de2nIfbKde/qFZ9/LcivLGWcRYhgDXWwvTbMVbuxC"], ["updated_at", Sat, 29 Jun 2013 11:22:25 UTC +00:00]] + SQL (8.6ms) INSERT INTO "public"."cadenero_accounts" ("authentication_token", "created_at", "name", "owner_id", "subdomain", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["authentication_token", nil], ["created_at", Sat, 29 Jun 2013 11:22:25 UTC +00:00], ["name", "Testy"], ["owner_id", 6], ["subdomain", "tested"], ["updated_at", Sat, 29 Jun 2013 11:22:25 UTC +00:00]] +  (0.7ms) COMMIT +  (0.1ms) BEGIN + SQL (1.0ms) INSERT INTO "public"."cadenero_members" ("account_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4) RETURNING "id" [["account_id", 6], ["created_at", Sat, 29 Jun 2013 11:22:26 UTC +00:00], ["updated_at", Sat, 29 Jun 2013 11:22:26 UTC +00:00], ["user_id", 6]] +  (2.2ms) COMMIT + Cadenero::V1::Account Exists (6.9ms) SELECT 1 AS one FROM "public"."cadenero_accounts" WHERE ("public"."cadenero_accounts"."subdomain" = 'tested' AND "public"."cadenero_accounts"."id" != 6) LIMIT 1 +  (1.1ms) CREATE SCHEMA "tested" +  (16.1ms) CREATE TABLE "cadenero_accounts" ("id" serial primary key, "name" character varying(255), "subdomain" character varying(255), "authentication_token" character varying(255), "owner_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  +  (24.0ms) CREATE INDEX "index_cadenero_accounts_on_authentication_token" ON "cadenero_accounts" ("authentication_token") +  (1.6ms) CREATE INDEX "index_cadenero_accounts_on_owner_id" ON "cadenero_accounts" ("owner_id") +  (11.5ms) CREATE TABLE "cadenero_members" ("id" serial primary key, "account_id" integer, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) +  (6.3ms) CREATE INDEX "index_cadenero_members_on_account_id" ON "cadenero_members" ("account_id") +  (1.3ms) CREATE INDEX "index_cadenero_members_on_user_id" ON "cadenero_members" ("user_id") +  (6.0ms) CREATE TABLE "cadenero_users" ("id" serial primary key, "email" character varying(255), "password_digest" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  +  (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) +  (8.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (6.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130612073709') + Cadenero::V1::Account Load (0.5ms) SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."authentication_token" = 'd8Ff8uvupXQfsPegiFKK' LIMIT 1 +  (0.1ms) BEGIN +  (0.5ms) UPDATE "public"."cadenero_accounts" SET "authentication_token" = 'd8Ff8uvupXQfsPegiFKK', "updated_at" = '2013-06-29 11:22:26.406417' WHERE "public"."cadenero_accounts"."id" = 6 +  (0.4ms) COMMIT + Cadenero::User Load (5.6ms) SELECT "public"."cadenero_users".* FROM "public"."cadenero_users" WHERE "public"."cadenero_users"."id" = 6 LIMIT 1 + Cadenero::User Load (2.0ms) SELECT "public"."cadenero_users".* FROM "public"."cadenero_users" INNER JOIN "public"."cadenero_members" ON "public"."cadenero_users"."id" = "public"."cadenero_members"."user_id" WHERE "public"."cadenero_members"."account_id" = 6 +Completed 201 Created in 1251ms (Views: 222.1ms | ActiveRecord: 212.8ms) + + +Started GET "/v1/accounts" for 127.0.0.1 at 2013-06-29 06:24:32 -0500 + +ActionController::RoutingError (No route matches [GET] "/v1/accounts"): + actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.5) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.5) lib/rack/lock.rb:15:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' + railties (3.2.13) lib/rails/engine.rb:479:in `call' + railties (3.2.13) lib/rails/application.rb:223:in `call' + railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `<main>' + + + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (6.3ms) + + +Started GET "/v1" for 127.0.0.1 at 2013-06-29 06:24:45 -0500 +Processing by Cadenero::V1::Account::DashboardController#index as */* + Parameters: {"default"=>:json} +env['warden'].authenticated?(:user): false +Filter chain halted as :authenticate_user! rendered or redirected +Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) + + +Started POST "/v1/sessions" for 127.0.0.1 at 2013-06-29 06:26:38 -0500 +Processing by Cadenero::V1::Account::SessionsController#create as */* + Parameters: {"user"=>{"email"=>"testy2@example.com", "password"=>"[FILTERED]"}, "default"=>:json} + Cadenero::V1::Account Load (0.3ms) SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."subdomain" IN ('tested') LIMIT 1 + Cadenero::User Load (0.4ms) SELECT "public"."cadenero_users".* FROM "public"."cadenero_users" INNER JOIN "public"."cadenero_members" ON "public"."cadenero_users"."id" = "public"."cadenero_members"."user_id" WHERE "public"."cadenero_members"."account_id" = 6 AND "public"."cadenero_users"."email" = 'testy2@example.com' LIMIT 1 + Cadenero::User Load (0.4ms) SELECT "public"."cadenero_users".* FROM "public"."cadenero_users" WHERE "public"."cadenero_users"."id" = 6 LIMIT 1 + Cadenero::V1::Account Load (0.5ms) SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."owner_id" = 6 + Cadenero::V1::Account Load (0.5ms) SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" INNER JOIN "public"."cadenero_members" ON "public"."cadenero_accounts"."id" = "public"."cadenero_members"."account_id" WHERE "public"."cadenero_members"."user_id" = 6 +Completed 201 Created in 176ms (Views: 15.7ms | ActiveRecord: 9.9ms) + + +Started GET "/v1" for 127.0.0.1 at 2013-06-29 06:26:49 -0500 +Processing by Cadenero::V1::Account::DashboardController#index as */* + Parameters: {"default"=>:json} +env['warden'].authenticated?(:user): false +Filter chain halted as :authenticate_user! rendered or redirected +Completed 422 Unprocessable Entity in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms) + + +Started POST "/v1/sessions" for 127.0.0.1 at 2013-06-29 06:29:33 -0500 +Processing by Cadenero::V1::Account::SessionsController#create as */* + Parameters: {"user"=>{"email"=>"testy2@example.com", "password"=>"[FILTERED]"}, "default"=>:json} + Cadenero::V1::Account Load (0.3ms) SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."subdomain" IN ('test') LIMIT 1 + Cadenero::User Load (0.4ms) SELECT "public"."cadenero_users".* FROM "public"."cadenero_users" INNER JOIN "public"."cadenero_members" ON "public"."cadenero_users"."id" = "public"."cadenero_members"."user_id" WHERE "public"."cadenero_members"."account_id" = 3 AND "public"."cadenero_users"."email" = 'testy2@example.com' LIMIT 1 +Completed 422 Unprocessable Entity in 25ms (Views: 0.3ms | ActiveRecord: 7.1ms) + + +Started POST "/v1/sessions" for 127.0.0.1 at 2013-06-29 06:29:56 -0500 + +Apartment::SchemaNotFound (One of the following schema(s) is invalid: test): + apartment (0.21.1) lib/apartment/adapters/postgresql_adapter.rb:82:in `rescue in connect_to_new' + apartment (0.21.1) lib/apartment/adapters/postgresql_adapter.rb:75:in `connect_to_new' + apartment (0.21.1) lib/apartment/adapters/abstract_adapter.rb:93:in `switch' + apartment (0.21.1) lib/apartment/elevators/generic.rb:17:in `call' + apartment (0.21.1) lib/apartment/reloader.rb:19:in `call' + rack (1.4.5) lib/rack/etag.rb:23:in `call' + rack (1.4.5) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__4405678494420779704__call__3737912389191776493__callbacks' + activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.5) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.5) lib/rack/lock.rb:15:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' + railties (3.2.13) lib/rails/engine.rb:479:in `call' + railties (3.2.13) lib/rails/application.rb:223:in `call' + railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `<main>' + + + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms) + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms) + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.2ms) +Connecting to database specified by database.yml +Connecting to database specified by database.yml +Connecting to database specified by database.yml +Connecting to database specified by database.yml + + +Started POST "/v1/sessions" for 127.0.0.1 at 2013-06-30 10:28:22 -0500 + +Apartment::SchemaNotFound (One of the following schema(s) is invalid: ): + apartment (0.21.1) lib/apartment/adapters/postgresql_adapter.rb:82:in `rescue in connect_to_new' + apartment (0.21.1) lib/apartment/adapters/postgresql_adapter.rb:75:in `connect_to_new' + apartment (0.21.1) lib/apartment/adapters/abstract_adapter.rb:93:in `switch' + apartment (0.21.1) lib/apartment/elevators/generic.rb:17:in `call' + apartment (0.21.1) lib/apartment/reloader.rb:19:in `call' + rack (1.4.5) lib/rack/etag.rb:23:in `call' + rack (1.4.5) lib/rack/conditionalget.rb:35:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__2421004868691781847__call__1622003817505394763__callbacks' + activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.13) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.5) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.5) lib/rack/lock.rb:15:in `call' + actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call' + railties (3.2.13) lib/rails/engine.rb:479:in `call' + railties (3.2.13) lib/rails/application.rb:223:in `call' + railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:147:in `handle' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:99:in `rescue in block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:96:in `block (2 levels) in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `each' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:86:in `block in start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `loop' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:66:in `start' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/lib/nack/server.rb:13:in `run' + /Users/manuelevidaurrea/Library/Application Support/Pow/Versions/0.4.0/node_modules/nack/bin/nack_worker:4:in `<main>' + + + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (16.8ms) + Rendered /Users/manuelevidaurrea/Documents/work/agiltec/workspace/ruby/rails/cadenero/vendor/bundle/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (46.0ms) +Connecting to database specified by database.yml