spec/dummy/log/development.log in cadenero-0.0.2.a1 vs spec/dummy/log/development.log in cadenero-0.0.2.a2
- old
+ new
@@ -530,5 +530,86 @@
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)
Connecting to database specified by database.yml
+
+
+Started POST "/v1/sessions" for 127.0.0.1 at 2013-06-27 23:43:41 -0500
+
+Apartment::SchemaNotFound (One of the following schema(s) is invalid: test3):
+ 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__756117718638477808__call__3994278690128380133__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 (1.8ms)
+ 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.2ms)
+ 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 (20.2ms)
+
+
+Started POST "/v1/accounts" for 127.0.0.1 at 2013-06-27 23:45:05 -0500
+Processing by Cadenero::V1::AccountsController#create as HTML
+ Parameters: {"account"=>{"name"=>"Testy", "subdomain"=>"test", "owner_attributes"=>{"email"=>"testy@example.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}, "default"=>:json}
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mCadenero::V1::Account Exists (0.5ms)[0m SELECT 1 AS one FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."subdomain" = 'test' LIMIT 1
+ [1m[36mSQL (2.3ms)[0m [1mINSERT INTO "public"."cadenero_users" ("created_at", "email", "password_digest", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["created_at", Fri, 28 Jun 2013 04:45:05 UTC +00:00], ["email", "testy@example.com"], ["password_digest", "$2a$10$ItllcpD13XNrNciXgTwWc.tyyvFtfjaTd6xNuM0Rq5b6cMKdm3DWa"], ["updated_at", Fri, 28 Jun 2013 04:45:05 UTC +00:00]]
+ [1m[35mSQL (0.8ms)[0m 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", Fri, 28 Jun 2013 04:45:06 UTC +00:00], ["name", "Testy"], ["owner_id", 3], ["subdomain", "test"], ["updated_at", Fri, 28 Jun 2013 04:45:06 UTC +00:00]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "public"."cadenero_members" ("account_id", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["account_id", 3], ["created_at", Fri, 28 Jun 2013 04:45:06 UTC +00:00], ["updated_at", Fri, 28 Jun 2013 04:45:06 UTC +00:00], ["user_id", 3]]
+ [1m[35m (0.9ms)[0m COMMIT
+ [1m[36mCadenero::V1::Account Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "public"."cadenero_accounts" WHERE ("public"."cadenero_accounts"."subdomain" = 'test' AND "public"."cadenero_accounts"."id" != 3) LIMIT 1[0m
+ [1m[35m (1.3ms)[0m CREATE SCHEMA "test"
+ [1m[36m (13.7ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.5ms)[0m CREATE INDEX "index_cadenero_accounts_on_authentication_token" ON "cadenero_accounts" ("authentication_token")
+ [1m[36m (2.3ms)[0m [1mCREATE INDEX "index_cadenero_accounts_on_owner_id" ON "cadenero_accounts" ("owner_id")[0m
+ [1m[35m (4.6ms)[0m CREATE TABLE "cadenero_members" ("id" serial primary key, "account_id" integer, "user_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
+ [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_cadenero_members_on_account_id" ON "cadenero_members" ("account_id")[0m
+ [1m[35m (8.9ms)[0m CREATE INDEX "index_cadenero_members_on_user_id" ON "cadenero_members" ("user_id")
+ [1m[36m (5.8ms)[0m [1mCREATE 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) [0m
+ [1m[35m (4.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
+ [1m[36m (5.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130612073709')[0m
+ [1m[35mCadenero::V1::Account Load (0.5ms)[0m SELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."authentication_token" = 'uugLhBDmxWtCPAbbqUps' LIMIT 1
+ [1m[36mCadenero::V1::Account Load (0.2ms)[0m [1mSELECT "public"."cadenero_accounts".* FROM "public"."cadenero_accounts" WHERE "public"."cadenero_accounts"."authentication_token" = 'i4tz4J5zEFMc21WfrLPs' LIMIT 1[0m
+Completed 201 Created in 423ms (Views: 0.2ms | ActiveRecord: 78.7ms)