(1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (2.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  Started GET "/" for ::1 at 2015-02-25 14:57:46 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (76.2ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUserGroups (20150225160536)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225160536"]]  (1.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (1.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.5ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.3ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225165521')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225160536') Started GET "/" for ::1 at 2015-02-25 14:58:51 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 124ms (Views: 123.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:58:51 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:58:51 -0300 Started GET "/" for ::1 at 2015-02-25 14:58:52 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:58:52 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:58:52 -0300 Started GET "/" for ::1 at 2015-02-25 14:58:53 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:58:53 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:58:53 -0300 Started GET "/" for ::1 at 2015-02-25 14:58:53 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:58:53 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:58:53 -0300 Started GET "/session/new" for ::1 at 2015-02-25 14:59:00 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (35.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 81ms (Views: 55.4ms | ActiveRecord: 0.5ms) Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:59:00 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:59:00 -0300 Started GET "/user_groups/new" for ::1 at 2015-02-25 14:59:21 -0300 Processing by Curupira::UserGroupsController#new as HTML Redirected to http://localhost:3000/session/new Filter chain halted as :require_login rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms) Started GET "/session/new" for ::1 at 2015-02-25 14:59:21 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 14:59:21 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 14:59:21 -0300  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["email", "paulo@email.com"], ["salt", "ZTigpybWzQCrBXyjtJaR"], ["crypted_password", "$2a$10$kf2of/BaWdi9F8gmBDvZNO6u08sq97zpeRgubIbNFoho5A20P5zAq"], ["created_at", "2015-02-25 18:00:04.538125"], ["updated_at", "2015-02-25 18:00:04.538125"]] SQLite3::ConstraintException: NOT NULL constraint failed: users.name: INSERT INTO "users" ("email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)  (0.1ms) rollback transaction User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulo@email.com"], ["name", "eu"], ["salt", "Ezs8xUxXDUuDGeyjEiYp"], ["crypted_password", "$2a$10$IgvvREPO538.9uGeXs5jYeRwxkNuWLgGttCxdwaaLc0M1/dvPOCq2"], ["created_at", "2015-02-25 18:00:33.382318"], ["updated_at", "2015-02-25 18:00:33.382318"]]  (2.3ms) commit transaction Started GET "/session" for ::1 at 2015-02-25 15:00:59 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#destroy as HTML Redirected to http://localhost:3000/session/new Completed 302 Found in 10ms (ActiveRecord: 0.0ms) Started GET "/session/new" for ::1 at 2015-02-25 15:00:59 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (12.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) Completed 200 OK in 63ms (Views: 44.3ms | ActiveRecord: 0.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:00:59 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:00:59 -0300 Started POST "/session" for ::1 at 2015-02-25 15:01:08 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"iHXtbkT1TFcvsgAFPnCWZj4X2055yVc8hONkCnk/XHMBUBUmehoYsrnvMPpnD9vAXYfWjFqMOQEzJULxE+6gfw==", "user"=>{"username"=>"paulo@email.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulo@email.com' OR "users"."email" = 'paulo@email.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.0ms) UPDATE "users" SET "last_login_at" = '2015-02-25 18:01:08.924084' WHERE "users"."id" = ? [["id", 1]] SQL (1.5ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/user_groups/new SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:01:08.935498' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 173ms (ActiveRecord: 5.3ms) Started GET "/user_groups/new" for ::1 at 2015-02-25 15:01:08 -0300 Processing by Curupira::UserGroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/_form.html.erb (67.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/new.html.erb within layouts/application (70.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:01:09.081022' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 128ms (Views: 89.4ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:01:09 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:01:09 -0300 Started GET "/user_groups" for ::1 at 2015-02-25 15:01:11 -0300 Processing by Curupira::UserGroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] UserGroup Load (0.2ms) SELECT "user_groups".* FROM "user_groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:01:11.164336' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 24.1ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:01:11 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:01:11 -0300 Started GET "/user_groups/new" for ::1 at 2015-02-25 15:01:12 -0300 Processing by Curupira::UserGroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/_form.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/new.html.erb within layouts/application (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (15.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:01:12.592992' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 25.4ms | ActiveRecord: 15.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:01:12 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:01:12 -0300 Started POST "/user_groups" for ::1 at 2015-02-25 15:04:44 -0300 Processing by Curupira::UserGroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"m1dDYq5oNEI7+3IcMPkXkPUCs4ZgTUPSXJQPQq5mVWIScrsqkIdgp62mQuNphlo2lpK+REMILe/rUim5xLepbg==", "user_group"=>{"name"=>"", "active"=>"0"}, "commit"=>"Create User group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.1ms) rollback transaction Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/_form.html.erb (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/new.html.erb within layouts/application (7.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:04:44.319011' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 27.8ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:04:44 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:04:44 -0300 Started POST "/user_groups" for ::1 at 2015-02-25 15:04:46 -0300 Processing by Curupira::UserGroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"TrfPeEH1bIgyLsbbojGYDzp+QCxVjmMA8AePb8Ppy1HHkjcwfxo4baRz9iT7TtWpWe5N7nbLDT1HwamUqTg3XQ==", "user_group"=>{"name"=>"", "active"=>"0"}, "commit"=>"Create User group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/_form.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/new.html.erb within layouts/application (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:04:46.695073' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 23.9ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:04:46 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:04:46 -0300 Started POST "/user_groups" for ::1 at 2015-02-25 15:04:47 -0300 Processing by Curupira::UserGroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z0hm+uOXNKJHcW5UZNXBRAYcmR1K0MYPe32I3c6YvwTubZ6y3XhgR9EsXqs9qoziZYyU32mVqDLMu64mpElDCA==", "user_group"=>{"name"=>"", "active"=>"0"}, "commit"=>"Create User group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction  (0.0ms) rollback transaction Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/_form.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/user_groups/new.html.erb within layouts/application (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-25 18:04:47.441711' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:04:47 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:04:47 -0300 Started GET "/session" for ::1 at 2015-02-25 15:07:51 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (4.7ms) UPDATE "users" SET "last_logout_at" = '2015-02-25 18:07:51.097786' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 8ms (ActiveRecord: 4.9ms) Started GET "/session/new" for ::1 at 2015-02-25 15:07:51 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 24ms (Views: 23.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:07:51 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:07:51 -0300 Started GET "/session/new" for ::1 at 2015-02-25 15:07:51 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 18ms (Views: 17.6ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-25 15:07:51 -0300 Started GET "/assets/application-5f1f3a0d9f2a8d9e8fcda8edadddaf68.js?body=1" for ::1 at 2015-02-25 15:07:51 -0300  (7.3ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (2.0ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.4ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.3ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225165521')  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225160536')  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoles (20150225193415)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225193415"]]  (2.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (2.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.5ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.3ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225193415')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225160536')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225165521')  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateFeatures (20150224203113)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150224203113_create_features.rb:9)  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "path_info" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150224203113"]]  (1.5ms) commit transaction Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (1.6ms) commit transaction Migrating to CreateGroupUsers (20150226132249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226132249"]]  (1.4ms) commit transaction Migrating to CreateGroups (20150226170654)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170654"]]  (1.3ms) commit transaction Migrating to CreateRoles (20150226170655)  (0.2ms) begin transaction  (0.8ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170655"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' Started GET "/" for ::1 at 2015-02-26 15:33:37 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 142ms (Views: 141.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:33:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:33:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:33:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:33:38 -0300 Started GET "/session/new" for ::1 at 2015-02-26 15:33:39 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (11.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 81ms (Views: 40.5ms | ActiveRecord: 1.1ms) Started POST "/session" for ::1 at 2015-02-26 15:33:41 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"U4lQ70pLunfvKsf+YE+ZPbd5/mpXKEsfDXOXoLmF8pLrWXTSNeBqrS5Pw6huQE1KvETGt5F4hsmkf2Teg+PtcA==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 31ms (Views: 23.4ms | ActiveRecord: 0.2ms) User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "Paulo"], ["salt", "gypEznyvCW7V3RzePQtz"], ["crypted_password", "$2a$10$z1dzTAflSLDufk468UxtceuAKnIdpw5VHS2vA9wot7CCCRjBmHMgq"], ["created_at", "2015-02-26 18:34:42.038230"], ["updated_at", "2015-02-26 18:34:42.038230"]]  (2.3ms) commit transaction Started POST "/session" for ::1 at 2015-02-26 15:34:52 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"QB0TWTtT4kO+u1VVW/qEb1cY/skoqvTEM6bdQ0BpY4X4zTdkRPgymX/eUQNV9VAYXCXGFO76ORKaqi49eg98Zw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (241.5ms) UPDATE "users" SET "last_login_at" = '2015-02-26 18:34:52.830835' WHERE "users"."id" = ? [["id", 1]] SQL (54.1ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:34:53.134916' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 500ms (ActiveRecord: 299.5ms) Started GET "/" for ::1 at 2015-02-26 15:34:53 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.6ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (23.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:34:53.225708' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 71.2ms | ActiveRecord: 2.8ms) Started GET "/users" for ::1 at 2015-02-26 15:34:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (27.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:34:56.011489' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 59ms (Views: 28.6ms | ActiveRecord: 27.7ms) Started GET "/users/1/edit" for ::1 at 2015-02-26 15:34:57 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (127.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (130.0ms) Completed 500 Internal Server Error in 140ms ActionView::Template::Error (undefined method `user_group' for #): 1:
2: <% if f.object.user_group.blank? || f.object.user_group.active? %> 3: <%= f.select :user_group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__4189860345178462155_70226793199900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3314217198675894426_70226796815120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.4ms) Started GET "/users/new" for ::1 at 2015-02-26 15:35:02 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (10.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (13.6ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `user_group' for #): 1:
2: <% if f.object.user_group.blank? || f.object.user_group.active? %> 3: <%= f.select :user_group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__4189860345178462155_70226793199900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3236015171960245016_70226750614280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.2ms) Started GET "/users/new" for ::1 at 2015-02-26 15:36:22 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.5ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `user_group' for #): 1:
2: <% if f.object.user_group.blank? || f.object.user_group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__4189860345178462155_70226792882940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1248509674254907771_70226794204280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3236015171960245016_70226750614280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.6ms) Started GET "/users/new" for ::1 at 2015-02-26 15:36:44 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (54.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (67.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (69.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:36:44.428875' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 99ms (Views: 93.8ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:36:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:36:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:36:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:36:44 -0300 Started POST "/users" for ::1 at 2015-02-26 15:36:50 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2EVM70QE5R+qMvg4Ric751Tc0FzlUNlqmqwcMyVgVCFglWjSO681xWtX/G5IKO+QX+HogSMAFLwzoO9NHwZLww==", "user"=>{"email"=>"", "name"=>"", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1"}, "commit"=>"Create User"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: active  (0.1ms) begin transaction  (0.1ms) rollback transaction Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (6.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (8.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:36:50.602482' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 193ms (Views: 31.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:36:50 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:36:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:36:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:36:50 -0300 Started POST "/users" for ::1 at 2015-02-26 15:36:52 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/PcYJsLr/t+A93vb4/oC7W/qXyUIa6avS9NEo65pJbdEJzwbvUAuBUGSf43t9daaZNdn+M47a3ni37fdlA86VQ==", "user"=>{"email"=>"", "name"=>"", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1"}, "commit"=>"Create User"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: active  (0.1ms) begin transaction  (0.1ms) rollback transaction Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (320.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:36:52.758189' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 521ms (Views: 33.4ms | ActiveRecord: 320.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:36:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:36:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:36:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:36:53 -0300 Started GET "/users" for ::1 at 2015-02-26 15:37:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:37:28.801360' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 32.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:37:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:37:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:37:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:37:28 -0300 Started GET "/groups" for ::1 at 2015-02-26 15:38:49 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:38:49.166360' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:38:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:38:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:38:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:38:49 -0300 Started GET "/groups/new" for ::1 at 2015-02-26 15:38:50 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (4.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:38:50.832260' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 28.6ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:38:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:38:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:38:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:38:50 -0300 Started POST "/groups" for ::1 at 2015-02-26 15:39:06 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"2fJIhFJtNOzx4d5oZ81w7uj5nq5E4CgotdGJyTebR7FhImy5LcbkNjCE2j5pwqSZ48Smc4Kw5f4c3Xq3Df1YUw==", "group"=>{"name"=>"MInha empresa", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "MInha empresa"], ["active", "t"], ["created_at", "2015-02-26 18:39:06.896570"], ["updated_at", "2015-02-26 18:39:06.896570"]]  (4.7ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:39:06.904271' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 13ms (ActiveRecord: 7.6ms) Started GET "/groups/1" for ::1 at 2015-02-26 15:39:06 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:39:06.944641' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 27.2ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:39:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:39:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:39:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:39:06 -0300 Started GET "/users" for ::1 at 2015-02-26 15:39:11 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:39:11.832987' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.3ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:39:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:39:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:39:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:39:11 -0300 Started GET "/users/new" for ::1 at 2015-02-26 15:39:14 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (10.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (13.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-26 18:39:14.520874' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 40.7ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-26 15:39:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-26 15:39:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-26 15:39:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-26 15:39:14 -0300 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (1.9ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "path_info" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime)   (1.2ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (1.3ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (1.2ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  (1.1ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (1.3ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.3ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.9ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (2.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226170655')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150224203113')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150225165521')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226132249')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150226170654') ActiveRecord::SchemaMigration Load (42.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAuthorizations (20150227034046)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227034046"]]  (3.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' User Load (12.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 Started GET "/" for ::1 at 2015-02-27 11:34:44 -0300 ActiveRecord::SchemaMigration Load (14.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 136ms (Views: 135.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 11:34:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 11:34:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 11:34:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 11:34:45 -0300 Started GET "/session/new" for ::1 at 2015-02-27 11:34:46 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 61ms (Views: 33.0ms | ActiveRecord: 0.4ms) Started POST "/session" for ::1 at 2015-02-27 11:34:48 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MXbglojqadSGD+9JZLTXIcFiBKyyp7q0NCdMadEg8MZbVEIWjkR7VgHV/0ry6JqkQEQTLmfk7Y8B7kA9P/4zlw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (33.4ms) UPDATE "users" SET "last_login_at" = '2015-02-27 14:34:48.880479' WHERE "users"."id" = ? [["id", 1]] SQL (28.9ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (124.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:34:48.950093' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 357ms (ActiveRecord: 187.6ms) Started GET "/" for ::1 at 2015-02-27 11:34:49 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (18.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:34:49.275588' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 24.3ms | ActiveRecord: 19.1ms) Started GET "/users" for ::1 at 2015-02-27 11:34:54 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (27.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:34:54.378585' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 30.9ms | ActiveRecord: 27.8ms) Started GET "/users/new" for ::1 at 2015-02-27 11:34:57 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (16.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (26.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (91.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (106.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:34:57.572125' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 135ms (Views: 113.6ms | ActiveRecord: 18.4ms) Started POST "/users" for ::1 at 2015-02-27 11:35:22 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"joIQtf1QjJMFPfor34QKoVTwKBviOnIvGmVCSTHqHIbkoLI1+/6eEYLn6ihJ2Eck1dY/mTd5JRQvrE4d3zTf1w==", "user"=>{"email"=>"", "name"=>"", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1"}, "commit"=>"Create User"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: active  (0.1ms) begin transaction  (0.1ms) rollback transaction Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (6.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (8.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (17.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:35:22.619151' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 201ms (Views: 29.4ms | ActiveRecord: 18.3ms) Started GET "/users" for ::1 at 2015-02-27 11:35:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:35:28.421522' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 25.6ms | ActiveRecord: 1.9ms) Started GET "/users/new" for ::1 at 2015-02-27 11:35:30 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (8.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (10.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:35:30.320495' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 44.3ms | ActiveRecord: 3.5ms) Started GET "/users/new" for ::1 at 2015-02-27 11:40:17 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (8.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (10.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:40:17.766887' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 37.4ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 11:40:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 11:40:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 11:40:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 11:40:17 -0300 Started GET "/users/new" for ::1 at 2015-02-27 11:40:18 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (9.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (11.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:40:18.957554' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 38.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 11:40:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 11:40:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 11:40:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 11:40:18 -0300 Started GET "/roles" for ::1 at 2015-02-27 11:47:51 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 14:47:51.491538' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 98ms (Views: 50.1ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 11:47:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 11:47:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 11:47:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 11:47:51 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:19:21 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:19:21.886525' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 99ms (Views: 48.6ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:19:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:19:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:19:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:19:22 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:19:22 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:19:22.790443' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 23.9ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:19:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:19:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:19:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:19:22 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:19:23 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:19:23.293855' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:19:23 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:19:23.703462' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 25.2ms | ActiveRecord: 1.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:19:23 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:19:24 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:19:24.236688' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:19:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:19:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:19:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:19:24 -0300 Started GET "/roles/new" for ::1 at 2015-02-27 14:19:26 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (47.6ms) Completed 500 Internal Server Error in 59ms ActionView::Template::Error (undefined method `feature' for nil:NilClass): 9: 10: <%= f.fields_for :features do |b| %> 11:
12: <% if b.object.feature.blank? || b.object.feature.active? %> 13: <%= b.select :feature_id, active_features_select_options %> 14: <% else %> 15: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:12:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136714163780' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136714163780' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136714163780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.9ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:21:14 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (33.4ms) Completed 500 Internal Server Error in 40ms ActionView::Template::Error (undefined method `feature' for #): 9: 10: <%= f.fields_for :features do |b| %> 11:
12: <% if b.feature.blank? || b.object.feature.active? %> 13: <%= b.select :feature_id, active_features_select_options %> 14: <% else %> 15: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:12:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.3ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:21:15 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (31.7ms) Completed 500 Internal Server Error in 38ms ActionView::Template::Error (undefined method `feature' for #): 9: 10: <%= f.fields_for :features do |b| %> 11:
12: <% if b.feature.blank? || b.object.feature.active? %> 13: <%= b.select :feature_id, active_features_select_options %> 14: <% else %> 15: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:12:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136724100500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.1ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:25:58 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (3.2ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (undefined method `feature' for nil:NilClass): 9: 10: <%= f.fields_for :features do |b| %> 11:
12: <% if b.object.feature.blank? || b.object.feature.active? %> 13: <%= b.select :feature_id, active_features_select_options %> 14: <% else %> 15: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:12:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.5ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:25:59 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (2.2ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (undefined method `feature' for nil:NilClass): 9: 10: <%= f.fields_for :features do |b| %> 11:
12: <% if b.object.feature.blank? || b.object.feature.active? %> 13: <%= b.select :feature_id, active_features_select_options %> 14: <% else %> 15: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:12:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136725719760' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (5.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.5ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:27:32 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (38.7ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (Missing partial curupira/roles/_feature_fields, curupira/authorized/_feature_fields, application/_feature_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 20: <% end %> 21: 22: 25:
26: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:23:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.2ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:27:34 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (11.1ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (Missing partial curupira/roles/_feature_fields, curupira/authorized/_feature_fields, application/_feature_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 20: <% end %> 21: 22: 25:
26: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:23:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.5ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:27:35 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (9.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (Missing partial curupira/roles/_feature_fields, curupira/authorized/_feature_fields, application/_feature_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 20: <% end %> 21: 22: 25:
26: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:23:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.2ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:27:35 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (9.2ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (Missing partial curupira/roles/_feature_fields, curupira/authorized/_feature_fields, application/_feature_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 20: <% end %> 21: 22: 25:
26: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:23:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.6ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:27:36 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.5ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (Missing partial curupira/roles/_feature_fields, curupira/authorized/_feature_fields, application/_feature_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 20: <% end %> 21: 22: 25:
26: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:23:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136735315220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.6ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:29:35 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (19.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (24.1ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined local variable or method `b' for #<#:0x007f93f39972b0>): 1:
2: <% if b.object.feature.blank? || b.object.feature.active? %> 3: <%= b.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= b.object.feature.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136689575040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.0ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:02 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (11.6ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.6ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:04 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (5.8ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.3ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:04 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (6.0ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.8ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:04 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.7ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.2ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:05 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.5ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.7ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:05 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (5.9ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.8ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:30:07 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (6.4ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || f.object.feature.active? %> 3: <%= f.select :feature_id, active_features_select_options %> 4: <% else %> 5: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__3459119097837770387_70136724869720' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___421654458559736223_70136711899820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.8ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:31:43 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (48.2ms) Completed 500 Internal Server Error in 113ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || 3: f.object.feature.active? %> 4: <%= f.select :feature_id, active_features_select_options %> 5: <% else %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__2309426050250447579_70366058249500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.0ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:31:45 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (6.9ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || 3: f.object.feature.active? %> 4: <%= f.select :feature_id, active_features_select_options %> 5: <% else %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__2309426050250447579_70366058249500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.4ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:32:05 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb (55322.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (55326.5ms) Completed 500 Internal Server Error in 55334ms ActionView::Template::Error (undefined method `feature' for #): 1:
2: <% if f.object.feature.blank? || 3: f.object.feature.active? %> 4: <%= f.select :feature_id, active_features_select_options %> 5: <% else %> 6: <%= f.object.feature.name %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_feature_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__feature_fields_html_erb__2309426050250447579_70366058100280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366058693920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.3ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:33:01 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (13.1ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (Missing partial curupira/roles/_authorization_fields, curupira/authorized/_authorization_fields, application/_authorization_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 12: <% end %> 13: 14: 17:
18: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.7ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:33:02 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (10.5ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (Missing partial curupira/roles/_authorization_fields, curupira/authorized/_authorization_fields, application/_authorization_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 12: <% end %> 13: 14: 17:
18: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.1ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:33:04 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.8ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (Missing partial curupira/roles/_authorization_fields, curupira/authorized/_authorization_fields, application/_authorization_fields with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): 12: <% end %> 13: 14: 17:
18: <% end %> actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:418:in `find_template' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:413:in `find_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:294:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366043522160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.2ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:33:44 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (7.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (11.8ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :features %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366056920260' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.0ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:26 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (7.7ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorizations %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366057703040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.9ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:27 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (7.3ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorizations %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366057703040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.0ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:28 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (6.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorizations %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366057703040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (17.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.6ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:29 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.4ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorizations %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366057703040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (17.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.1ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:31 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (7.1ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorization %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366010980680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.2ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:32 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (4.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (7.8ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (no implicit conversion of Symbol into Integer): 6: <%= f.object.feature.name %> 7: <% end %> 8: 9: <%= link_to_remove_association "Remover", f, :authorization %> 10:
cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `[]' cocoon (1.2.6) lib/cocoon/view_helpers.rb:33:in `link_to_remove_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles__authorization_fields_html_erb__3966387711799094131_70366010980680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_new_html_erb___3426661557423564981_70366057048000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.8ms) Started GET "/roles/new" for ::1 at 2015-02-27 14:34:45 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:34:45.456060' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 47.7ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:34:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:34:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:34:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:34:45 -0300 Started GET "/roles/new" for ::1 at 2015-02-27 14:34:46 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:34:46.554565' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 37.1ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:34:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:34:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:34:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:34:46 -0300 Started GET "/features" for ::1 at 2015-02-27 14:35:21 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:21.515231' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.6ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:35:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:35:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:35:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:35:21 -0300 Started GET "/features/new" for ::1 at 2015-02-27 14:35:22 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (7.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:22.876582' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 52.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:35:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:35:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:35:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:35:22 -0300 Started POST "/features" for ::1 at 2015-02-27 14:35:36 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjMaZtDeIulWbSYyNIJHSA0Ek45kJA7hHK/i7wWi8gVQEbjm1nAwa9G3NjGi3grNjCKEDLFnWdopZu6763wxVA==", "feature"=>{"description"=>"Cadastrar perfil", "path_info"=>"http://localhost:3000/features/new", "request_method"=>"post"}, "commit"=>"Create Feature"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("description", "path_info", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["description", "Cadastrar perfil"], ["path_info", "http://localhost:3000/features/new"], ["request_method", "post"], ["created_at", "2015-02-27 17:35:36.016176"], ["updated_at", "2015-02-27 17:35:36.016176"]]  (1.2ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:36.020195' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 9ms (ActiveRecord: 3.5ms) Started GET "/features/1" for ::1 at 2015-02-27 14:35:36 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:36.087397' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 53.9ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:35:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:35:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:35:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:35:36 -0300 Started GET "/roles" for ::1 at 2015-02-27 14:35:43 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:43.725981' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 33.9ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:35:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:35:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:35:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:35:43 -0300 Started GET "/roles/new" for ::1 at 2015-02-27 14:35:44 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:35:44.931114' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 32.2ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:35:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:35:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:35:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:35:44 -0300 Started GET "/roles/new" for ::1 at 2015-02-27 14:36:24 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:36:24.583543' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 31.2ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:36:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:36:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:36:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:36:24 -0300 Started GET "/roles/new" for ::1 at 2015-02-27 14:36:40 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:36:40.922143' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.1ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:36:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:36:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:36:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:36:40 -0300 Started POST "/roles" for ::1 at 2015-02-27 14:36:46 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hgRWtdu8fngzYwwuzJaisy8hbQaw87fy2BRcy95NN8PsJvQ13RJs+rS5HC1ayu82rgd6hGWw4Mnt3VCfMJP0kg==", "role"=>{"name"=>"admin", "authorizations_attributes"=>{"1425058604558"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "admin"]] SQL (0.3ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-02-27 17:36:46.953189"], ["updated_at", "2015-02-27 17:36:46.953189"]]  (2.6ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:36:46.958495' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 14ms (ActiveRecord: 5.2ms) Started GET "/roles/1" for ::1 at 2015-02-27 14:36:46 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:36:47.049426' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 38.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:36:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:36:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:36:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:36:47 -0300 Started GET "/roles/" for ::1 at 2015-02-27 14:36:53 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:36:53.099736' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 35.2ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:36:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:36:53 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:36:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:36:53 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 14:38:20 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (0.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:38:20.247975' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:38:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:38:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:38:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:38:20 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 14:38:22 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (0.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:38:22.098139' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 24.5ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 14:38:22 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (0.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:38:22.401994' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 24.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:38:22 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 14:38:39 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:38:39.839237' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 103ms (Views: 48.6ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:38:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:38:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:38:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:38:39 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:38:42 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (15.3ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (79.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (82.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:38:43.028401' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 141ms (Views: 109.1ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:38:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:38:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:38:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:38:43 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:21 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.6ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (13.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:21.878696' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 37.1ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:21 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:22 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.8ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (13.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (4.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:22.514006' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 41.1ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:22 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.7ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (12.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (3.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:22.788020' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 36.7ms | ActiveRecord: 4.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:22 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:23 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.2ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (12.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:23.075381' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 36.8ms | ActiveRecord: 3.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:23 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.9ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (12.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (14.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:23.384711' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 41.9ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:23 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.3ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (13.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:23.667947' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 41.6ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:23 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.5ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (13.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:23.911293' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 40.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:23 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 14:39:24 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.1ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.8ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (11.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (13.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (10.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:39:24.113825' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 42.4ms | ActiveRecord: 11.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:39:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:39:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:39:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:39:24 -0300 Started GET "/session" for ::1 at 2015-02-27 14:51:10 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.0ms) UPDATE "users" SET "last_logout_at" = '2015-02-27 17:51:10.207620' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 6ms (ActiveRecord: 2.2ms) Started GET "/session/new" for ::1 at 2015-02-27 14:51:10 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (5.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 48ms (Views: 46.8ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:51:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:51:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:51:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:51:10 -0300 Started GET "/session/new" for ::1 at 2015-02-27 14:51:11 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/session/new" for ::1 at 2015-02-27 14:51:11 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 30ms (Views: 28.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:51:11 -0300 Started GET "/session/new" for ::1 at 2015-02-27 14:51:11 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:51:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:51:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:51:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:51:12 -0300 Started POST "/session" for ::1 at 2015-02-27 14:51:13 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"w7jykMRn8EOi3Cl1zeC9aw/j5H0CoUudk2qfz01S+wkF19Txa1YYBmXdeOvckJLptqdHQ+tw9+OXaUbkOaRNnA==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (12.8ms) UPDATE "users" SET "last_login_at" = '2015-02-27 17:51:13.619182' WHERE "users"."id" = ? [["id", 1]] SQL (1.3ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:51:13.636509' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 174ms (ActiveRecord: 15.8ms) Started GET "/" for ::1 at 2015-02-27 14:51:13 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 17:51:13.684458' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 30.7ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 14:51:13 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 14:51:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 14:51:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 14:51:13 -0300 Started GET "/session" for ::1 at 2015-02-27 15:22:16 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.8ms) UPDATE "users" SET "last_logout_at" = '2015-02-27 18:22:16.257896' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 5ms (ActiveRecord: 2.1ms) Started GET "/session/new" for ::1 at 2015-02-27 15:22:16 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 28ms (Views: 26.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 15:22:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 15:22:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 15:22:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 15:22:16 -0300 Started GET "/session/new" for ::1 at 2015-02-27 15:24:01 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 29.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 15:24:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 15:24:01 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 15:24:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 15:24:01 -0300 Started GET "/session/new" for ::1 at 2015-02-27 15:24:03 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 32ms (Views: 30.9ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 15:24:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 15:24:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 15:24:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 15:24:03 -0300 Started GET "/session/new" for ::1 at 2015-02-27 15:24:25 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (14.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 94ms (Views: 62.5ms | ActiveRecord: 0.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 15:24:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 15:24:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 15:24:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 15:24:25 -0300 Started GET "/session/new" for ::1 at 2015-02-27 15:24:27 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 15:24:27 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 15:24:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 15:24:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 15:24:27 -0300 Started GET "/session/new" for ::1 at 2015-02-27 17:05:05 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (10.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) Completed 200 OK in 96ms (Views: 60.7ms | ActiveRecord: 0.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:05:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:05:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:05:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:05:06 -0300 Started POST "/session" for ::1 at 2015-02-27 17:05:07 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nlss2ZRsZWgqM/aDGauP5fqrMhdyCm5PGru7CuR/NeaLrr9MwcNpRHotyXju3IjVu3J3rfF5o84if5dw6lxVQQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.8ms) UPDATE "users" SET "last_login_at" = '2015-02-27 20:05:07.348160' WHERE "users"."id" = ? [["id", 1]] SQL (1.5ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:05:07.357999' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 165ms (ActiveRecord: 6.6ms) Started GET "/" for ::1 at 2015-02-27 17:05:07 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.4ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:05:07.411515' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:05:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:05:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:05:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:05:07 -0300 Started GET "/" for ::1 at 2015-02-27 17:06:00 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:06:00.178330' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 27.1ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:06:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:06:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:06:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:06:00 -0300 Started GET "/" for ::1 at 2015-02-27 17:06:06 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:06:06.473585' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:06:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:06:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:06:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:06:06 -0300 Started GET "/roles" for ::1 at 2015-02-27 17:06:07 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (6.0ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (undefined method `each' for nil:NilClass): 13: 14: 15: 16: <% @users.each do |user| %> 17: 18: <%= link_to role.description, role %> 19: <%= role.active %> /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb:16:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_index_html_erb___2802616093966241034_70304076047320' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.3ms) Started GET "/roles" for ::1 at 2015-02-27 17:06:16 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (30.4ms) Completed 500 Internal Server Error in 39ms ActionView::Template::Error (undefined local variable or method `role' for #<#:0x007fe1e6481208>): 15: 16: <% @roles.each do |user| %> 17: 18: <%= link_to role.description, role %> 19: <%= role.active %> 20: <%= link_to "Editar", edit_role_path(role) %> 21: /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb:18:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_index_html_erb___2802616093966241034_70304111171980' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb:16:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_index_html_erb___2802616093966241034_70304111171980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.5ms) Started GET "/roles" for ::1 at 2015-02-27 17:06:22 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (3.5ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `description' for #): 15: 16: <% @roles.each do |role| %> 17: 18: <%= link_to role.description, role %> 19: <%= role.active %> 20: <%= link_to "Editar", edit_role_path(role) %> 21: activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb:18:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_index_html_erb___2802616093966241034_70304111894040' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb:16:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_index_html_erb___2802616093966241034_70304111894040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.3ms) Started GET "/roles" for ::1 at 2015-02-27 17:06:30 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:06:31.000058' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.8ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:06:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:06:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:06:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:06:31 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 17:06:35 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:06:35.337647' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 35.1ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:06:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:06:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:06:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:06:35 -0300 Started GET "/roles/1" for ::1 at 2015-02-27 17:07:31 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (38.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:31.595215' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 71ms (Views: 65.2ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:07:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:07:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:07:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:07:31 -0300 Started GET "/roles" for ::1 at 2015-02-27 17:07:34 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:34.767560' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.4ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:07:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:07:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:07:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:07:34 -0300 Started GET "/roles/1/edit" for ::1 at 2015-02-27 17:07:36 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.5ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.4ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (8.2ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (29.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (31.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:36.419744' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 64ms (Views: 57.7ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:07:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:07:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:07:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:07:36 -0300 Started PATCH "/roles/1" for ::1 at 2015-02-27 17:07:44 -0300 Processing by Curupira::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"7/CU9xrfcx+aSY4fiixf98MZFgKsHIRezQp3CzTI70z6BQdiT3B/M8pXseR9W1jHgsBTuC9vSd/1zltxOuuP6w==", "role"=>{"name"=>"Administrador", "authorizations_attributes"=>{"0"=>{"feature_id"=>"1", "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update Role", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? AND "authorizations"."id" = 1 [["role_id", 1]] SQL (0.4ms) UPDATE "roles" SET "name" = ? WHERE "roles"."id" = ? [["name", "Administrador"], ["id", 1]]  (1.1ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:44.359050' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 13ms (ActiveRecord: 3.9ms) Started GET "/roles/1" for ::1 at 2015-02-27 17:07:44 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:44.405362' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.8ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:07:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:07:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:07:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:07:44 -0300 Started GET "/roles" for ::1 at 2015-02-27 17:07:46 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-02-27 20:07:46.397394' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-02-27 17:07:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-02-27 17:07:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-02-27 17:07:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-02-27 17:07:46 -0300 Started GET "/" for ::1 at 2015-03-03 10:23:59 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) Completed 200 OK in 127ms (Views: 127.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:23:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:23:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:23:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:23:59 -0300 Started GET "/session/new" for ::1 at 2015-03-03 10:24:02 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (12.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 64ms (Views: 37.6ms | ActiveRecord: 0.6ms) Started POST "/session" for ::1 at 2015-03-03 10:24:05 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KsfRS19zUo1q0xGna/pC9ua5Tm4VlDluIHOktWyly+fywLOCp89GrZ+7ZJXPShg/M+PPu/SQDmNk7JGdV6cQAQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (16.4ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (54.4ms) UPDATE "users" SET "last_login_at" = '2015-03-03 13:24:06.067110' WHERE "users"."id" = ? [["id", 1]] SQL (1.9ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (41.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:06.129922' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 279ms (ActiveRecord: 114.6ms) Started GET "/" for ::1 at 2015-03-03 10:24:06 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:06.215854' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 2.6ms) Started GET "/users" for ::1 at 2015-03-03 10:24:10 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (118.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:10.530073' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 157ms (Views: 34.8ms | ActiveRecord: 118.7ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:24:12 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (22.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.5ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (13.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (116.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (148.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:12.917201' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 183ms (Views: 152.9ms | ActiveRecord: 26.5ms) Started GET "/groups" for ::1 at 2015-03-03 10:24:39 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:39.994339' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 33.9ms | ActiveRecord: 2.0ms) Started GET "/groups/1/edit" for ::1 at 2015-03-03 10:24:41 -0300 Processing by Curupira::GroupsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/edit.html.erb within layouts/application (45.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:24:41.826052' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 79ms (Views: 73.6ms | ActiveRecord: 2.5ms) Started GET "/users" for ::1 at 2015-03-03 10:40:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:40:18.325590' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 44.7ms | ActiveRecord: 2.7ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:40:20 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (10.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (13.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:40:20.451443' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 37.3ms | ActiveRecord: 2.6ms)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:07 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.1ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:07 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (46.1ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:08 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (44.4ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:08 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.6ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:08 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.1ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:09 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.8ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:09 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.5ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:10 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.5ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:10 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.3ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:10 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.8ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:11 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.9ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:11 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.2ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:11 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.2ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:11 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.3ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:12 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (45.5ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:12 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (47.9ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150303134756)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_permissions_on_user_id" ON "permissions" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_user_id' AND type='index'  (0.2ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_user_id' AND type='index'   (0.1ms) CREATE INDEX "index_permissions_on_group_id" ON "permissions" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134756"]]  (1.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_id' AND type='index'  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' Started GET "/users/1/edit" for ::1 at 2015-03-03 10:48:31 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (16.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (61.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (65.6ms) Completed 500 Internal Server Error in 117ms ActionView::Template::Error (undefined method `merge' for nil:NilClass): 1:
2: <%= f.hidden_field :group_id, group_id %> 3: <% if f.object.role.blank? || f.object.role.active? %> 4: <%= f.select :role_id, active_user_groups_select_options %> 5: <% else %> actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1869:in `objectify_options' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1750:in `hidden_field' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331116658900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331121188060' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331121188060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__2418579182662026048_70331155207000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.5ms) Started GET "/users/" for ::1 at 2015-03-03 10:48:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (3.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:48:40.334919' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 59ms (Views: 51.9ms | ActiveRecord: 4.2ms) Started GET "/users/new" for ::1 at 2015-03-03 10:48:42 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (13.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (15.5ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `merge' for nil:NilClass): 1:
2: <%= f.hidden_field :group_id, group_id %> 3: <% if f.object.role.blank? || f.object.role.active? %> 4: <%= f.select :role_id, active_user_groups_select_options %> 5: <% else %> actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1869:in `objectify_options' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1750:in `hidden_field' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331116658900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331121188060' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331121188060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.4ms) Started GET "/users/new" for ::1 at 2015-03-03 10:50:11 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (12.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (14.6ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331111158540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.3ms) Started GET "/users/new" for ::1 at 2015-03-03 10:50:52 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (10.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (12.6ms) Completed 500 Internal Server Error in 20ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331111158540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.7ms) Started GET "/users/new" for ::1 at 2015-03-03 10:50:53 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (8.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (10.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331111158540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (68.8ms) Started GET "/users/new" for ::1 at 2015-03-03 10:50:54 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (11.1ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331111158540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331114691940' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.1ms) Started GET "/groups" for ::1 at 2015-03-03 10:52:26 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:52:26.386331' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.1ms | ActiveRecord: 2.8ms) Started GET "/groups/new" for ::1 at 2015-03-03 10:52:29 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (8.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:52:29.051728' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 37.4ms | ActiveRecord: 2.5ms) Started GET "/users" for ::1 at 2015-03-03 10:52:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:52:57.729935' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 2.5ms) Started GET "/users" for ::1 at 2015-03-03 10:55:13 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:55:13.809729' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 28.5ms | ActiveRecord: 3.6ms) Started GET "/users/new" for ::1 at 2015-03-03 10:55:15 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (26.7ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__823892388805243541_70331111158540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331123619560' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:10:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331123619560' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.7ms) Started GET "/users/new" for ::1 at 2015-03-03 10:57:59 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (13.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (28.1ms) Completed 500 Internal Server Error in 58ms ActionView::Template::Error (Association permission doesn't exist on GroupUser): 12: <% end %> 13: 14: 17: 18: <%= link_to_remove_association "Remover", f %> cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object' cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__2501030480850637512_70331123619560' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___1480200707737299849_70331147298900' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3321113991306169311_70331121052920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.3ms)  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateFeatures (20150224203113)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150224203113_create_features.rb:9)  (0.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "path_info" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150224203113"]]  (1.3ms) commit transaction Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (1.8ms) commit transaction Migrating to CreateGroupUsers (20150226132249)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226132249"]]  (2.2ms) commit transaction Migrating to CreateGroups (20150226170654)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170654"]]  (1.9ms) commit transaction Migrating to CreateRoles (20150226170655)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170655"]]  (1.6ms) commit transaction Migrating to CreateAuthorizations (20150227034046)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.6ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227034046"]]  (1.7ms) commit transaction Migrating to CreatePermissions (20150303134756)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134756"]]  (1.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' Started GET "/users/new" for ::1 at 2015-03-03 10:58:31 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/session/new Filter chain halted as :require_login rendered or redirected Completed 302 Found in 30ms (ActiveRecord: 0.4ms) Started GET "/session/new" for ::1 at 2015-03-03 10:58:31 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (14.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 75ms (Views: 62.4ms | ActiveRecord: 0.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:58:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:58:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:58:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:58:31 -0300 Started POST "/session" for ::1 at 2015-03-03 10:58:33 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"AaFGX0//gSVBvPdvnuip/remk/v7VczTe18fOK4bblfZpiSWt0OVBbTUgl06WPM3YvwSLhpR+94/wCoQlRm1sQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:58:33 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:58:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:58:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:58:33 -0300 Started POST "/session" for ::1 at 2015-03-03 10:58:34 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"VlOhvjm+1+7s8eEoQkrv5SjhKitiW3vcnU8SfD33o8OOVMN3wQLDzhmZlBrm+rUs/bur/oNfTNHZ0CdUBvV4JQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 32.7ms | ActiveRecord: 0.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:58:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:58:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:58:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:58:34 -0300  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "U2Tye79yu1njJWzALpQk"], ["crypted_password", "$2a$10$BLZiEqZ5V0CVnciWmfk55OI1EHoEU.ejAab78YYvjagm2PA47.tSq"], ["created_at", "2015-03-03 13:59:21.831733"], ["updated_at", "2015-03-03 13:59:21.831733"]]  (2.2ms) commit transaction Started POST "/session" for ::1 at 2015-03-03 10:59:31 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"zxEhNg3UzdYFDt4swRwrknlsJRutiBnX9zCnT7vX/DIXFkP/9WjZ9vBmqx5lrHFbrDakzkyMLtqzr5JngNUn1A==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/ Filter chain halted as :redirect_to_root_with_errors rendered or redirected Completed 302 Found in 38ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-03 10:59:31 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:59:31.696996' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 48.6ms | ActiveRecord: 1.6ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:59:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:59:31 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:59:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:59:31 -0300 Started GET "/users" for ::1 at 2015-03-03 10:59:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 13:59:34.461603' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 32.8ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 10:59:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 10:59:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 10:59:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 10:59:34 -0300 Started GET "/users/new" for ::1 at 2015-03-03 10:59:36 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (17.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (67.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (70.7ms) Completed 500 Internal Server Error in 81ms ActionView::Template::Error (Association permission doesn't exist on GroupUser): 12: <% end %> 13: 14: 17: 18: <%= link_to_remove_association "Remover", f %> cocoon (1.2.6) lib/cocoon/view_helpers.rb:122:in `create_object_on_non_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:110:in `create_object' cocoon (1.2.6) lib/cocoon/view_helpers.rb:92:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__3282531159134241742_70176899666860' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___4285209380484128328_70176905870000' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (17.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.1ms) Started GET "/users/new" for ::1 at 2015-03-03 11:00:33 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (6.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (17.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (28.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (30.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:00:33.635232' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 56.9ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:00:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:00:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:00:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:00:33 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:00:57 -0300 Started GET "/groups" for ::1 at 2015-03-03 11:01:29 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:29.739989' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.9ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:29 -0300 Started GET "/groups/new" for ::1 at 2015-03-03 11:01:30 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:30.974358' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 33.9ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:31 -0300 Started POST "/groups" for ::1 at 2015-03-03 11:01:36 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"u+q5W481F67sLIMqTRyyzYpI27toxXCIRUKxmuxPtftj7duSd4kDjhlE9hjprOgEXxJabonBR4UB3YSy101uHQ==", "group"=>{"name"=>"admin", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "admin"], ["active", "t"], ["created_at", "2015-03-03 14:01:36.560957"], ["updated_at", "2015-03-03 14:01:36.560957"]]  (9.3ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (10.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:36.574213' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 27ms (ActiveRecord: 20.6ms) Started GET "/groups/1" for ::1 at 2015-03-03 11:01:36 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:36.620116' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 23.8ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:36 -0300 Started GET "/features" for ::1 at 2015-03-03 11:01:42 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:42.307135' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 30.5ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:42 -0300 Started GET "/roles" for ::1 at 2015-03-03 11:01:43 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (5.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:43.527198' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.7ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:43 -0300 Started GET "/roles/new" for ::1 at 2015-03-03 11:01:44 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (26.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (65.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:44.590538' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 98ms (Views: 90.1ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:44 -0300 Started POST "/roles" for ::1 at 2015-03-03 11:01:55 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"s80KrD5YRwdL4NShYwKG9p1+nDh9jhVrPmnHpDLK91trymhlxuRTJ76IoZPHstw/SCQd7ZyKImZ69vKMCcgsvQ==", "role"=>{"name"=>"Contador", "authorizations_attributes"=>{"1425391312754"=>{"feature_id"=>"", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Contador"]]  (1.5ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:55.413616' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 9ms (ActiveRecord: 3.8ms) Started GET "/roles/1" for ::1 at 2015-03-03 11:01:55 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (34.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:55.488188' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 58.9ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:55 -0300 Started GET "/features" for ::1 at 2015-03-03 11:01:56 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (4.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:56.808824' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 27.6ms | ActiveRecord: 4.3ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:56 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:56 -0300 Started GET "/features/new" for ::1 at 2015-03-03 11:01:57 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:01:57.917213' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 43.8ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:01:57 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:01:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:01:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:01:57 -0300 Started POST "/features" for ::1 at 2015-03-03 11:02:10 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"NlSE2+3ClSQuHJAm+rgXOwURtGURopgOijc2RQoHZLTuU+YSFX6BBNt05RReCE3y0Es1sPCmrwPOqANtMQW/Ug==", "feature"=>{"description"=>"Fazer contas", "path_info"=>"afasdsad", "request_method"=>"sdaad"}, "commit"=>"Create Feature"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "features" ("description", "path_info", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["description", "Fazer contas"], ["path_info", "afasdsad"], ["request_method", "sdaad"], ["created_at", "2015-03-03 14:02:10.409967"], ["updated_at", "2015-03-03 14:02:10.409967"]]  (102.0ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (10.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:10.514858' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 118ms (ActiveRecord: 113.1ms) Started GET "/features/1" for ::1 at 2015-03-03 11:02:10 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (65.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:10.565800' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 95ms (Views: 26.9ms | ActiveRecord: 65.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:10 -0300 Started GET "/features" for ::1 at 2015-03-03 11:02:12 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:12.627560' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:12 -0300 Started GET "/features/new" for ::1 at 2015-03-03 11:02:13 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:13.609109' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 29.0ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:13 -0300 Started POST "/features" for ::1 at 2015-03-03 11:02:20 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"hsnMwqog2QlUCaQYtq7PRslQiF04HKDnMUJuRSyEBihezq4LUpzNKaFh0SoSHpWPHAoJiNkYl+p13VttF4bdzg==", "feature"=>{"description"=>"Cadastrar", "path_info"=>"sdasdas", "request_method"=>"dasdas"}, "commit"=>"Create Feature"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("description", "path_info", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["description", "Cadastrar"], ["path_info", "sdasdas"], ["request_method", "dasdas"], ["created_at", "2015-03-03 14:02:20.418430"], ["updated_at", "2015-03-03 14:02:20.418430"]]  (1.3ms) commit transaction Redirected to http://localhost:3000/features/2 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:20.421623' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 9ms (ActiveRecord: 3.5ms) Started GET "/features/2" for ::1 at 2015-03-03 11:02:20 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:20.461633' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 25.0ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:20 -0300 Started GET "/users" for ::1 at 2015-03-03 11:02:21 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (13.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:21.693330' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 30.0ms | ActiveRecord: 13.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:21 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:21 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:02:24 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (15.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (18.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:24.453811' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 43.2ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:24 -0300 Started GET "/roles" for ::1 at 2015-03-03 11:02:44 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:44.293643' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 30.5ms | ActiveRecord: 4.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:44 -0300 Started GET "/roles/new" for ::1 at 2015-03-03 11:02:46 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (7.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (27.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:46.306919' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 35.1ms | ActiveRecord: 27.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:46 -0300 Started GET "/roles" for ::1 at 2015-03-03 11:02:54 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (22.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:54.034945' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 29.3ms | ActiveRecord: 22.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:54 -0300 Started GET "/users" for ::1 at 2015-03-03 11:02:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:57.540623' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.6ms | ActiveRecord: 2.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:57 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:57 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:02:59 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (13.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (16.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (25.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:02:59.453813' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 47.0ms | ActiveRecord: 26.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:02:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:02:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:02:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:02:59 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:03:49 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (10.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (27.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (41.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (43.9ms) Completed 500 Internal Server Error in 73ms ActionView::Template::Error (undefined method `mame' for #): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `block in active_roles_select_options' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `active_roles_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__3639027274327051545_70176925636100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__3282531159134241742_70176924060960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3704369574924255064_70176925007820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.4ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 11:03:51 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (13.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (15.1ms) Completed 500 Internal Server Error in 24ms ActionView::Template::Error (undefined method `mame' for #): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `block in active_roles_select_options' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `active_roles_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__3639027274327051545_70176925636100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__3282531159134241742_70176924060960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3704369574924255064_70176925007820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.6ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 11:03:52 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (11.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (13.9ms) Completed 500 Internal Server Error in 22ms ActionView::Template::Error (undefined method `mame' for #): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `block in active_roles_select_options' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map' /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:11:in `active_roles_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__3639027274327051545_70176925636100' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__3282531159134241742_70176924060960' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__3416393346053855677_70176896068280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3704369574924255064_70176925007820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.9ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 11:04:26 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (8.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (32.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (46.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (48.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:04:27.127307' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 98ms (Views: 72.6ms | ActiveRecord: 4.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:04:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:04:27 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:04:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:04:27 -0300 Started PATCH "/users/1" for ::1 at 2015-03-03 11:04:35 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nGy4Vf8sbqxCk+s04LHoxhAvSyJl3Af/5j68LeVSHXdEa9qcB5B6jLf7ngZEAbIPxXXK94TYMPKioYkF3lDGkQ==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1425391468826"=>{"group_id"=>"1", "permissions_attributes"=>{"1425391471085"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: permissions_attributes Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.5ms) UPDATE "users" SET "username" = ?, "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["username", "paulociecomp@gmail.com"], ["salt", "hrc12qi95Ph7s8Rp6Uyy"], ["crypted_password", "$2a$10$kVgifdzQ7dUt0LOthbE5QuMUxmH5IoLtVOAvT7iVDj55kX5.aVjlS"], ["updated_at", "2015-03-03 14:04:35.309688"], ["id", 1]] SQL (0.2ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1], ["created_at", "2015-03-03 14:04:35.312158"], ["updated_at", "2015-03-03 14:04:35.312158"]]  (3.6ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:04:35.318216' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 170ms (ActiveRecord: 6.3ms) Started GET "/users/1" for ::1 at 2015-03-03 11:04:35 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.4ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `user_groups' for #): 15:

Grupos

16: 17:
    18: <% @user.user_groups.each do |group| %> 19:
  • <%= group.name %>
  • 20: <% end %> 21:
activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_show_html_erb__3403998487605193838_70176900686660' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.7ms) Started GET "/users/1" for ::1 at 2015-03-03 11:05:05 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Group Load (0.2ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ? [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:05:05.649198' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.8ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:05:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:05:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:05:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:05:05 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:07:08 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (21.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:08.482244' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 72ms (Views: 47.4ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:08 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:07:09 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:09.526958' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 28.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:09 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:07:10 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:10.111474' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 28.4ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:07:13 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (6.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (17.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (64.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (67.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:13.248117' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 96ms (Views: 90.2ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:13 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:07:42 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (26.1ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (47.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (49.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:42.519547' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 100ms (Views: 72.5ms | ActiveRecord: 4.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:42 -0300 Started PATCH "/users/1" for ::1 at 2015-03-03 11:07:47 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"j9MPVpdgD6IRchUP5VpoRUH8WeHWHLhyCDAqnjdLraFX1G2fb9wbguQaYD1B6jKMlKbYNDcYj39Mrx+2DEl2Rw==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"0"=>{"group_id"=>"1", "permissions_attributes"=>{"1425391664975"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: permissions_attributes Unpermitted parameter: active  (0.1ms) begin transaction GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = 1 [["user_id", 1]] SQL (0.5ms) UPDATE "users" SET "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["salt", "GazpLteDWeSgMBt7zKvA"], ["crypted_password", "$2a$10$qdV1RujbgDrpqP6mpERzTundWNn.Be0MlDq21sDIT3pP8ffMPNQF."], ["updated_at", "2015-03-03 14:07:47.641702"], ["id", 1]]  (9.0ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:47.653916' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 170ms (ActiveRecord: 11.4ms) Started GET "/users/1" for ::1 at 2015-03-03 11:07:47 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:47.699434' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.4ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:47 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:07:49 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:49.509889' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:49 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:07:50 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:50.335016' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:50 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:07:52 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.6ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (22.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (25.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:07:52.381131' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 50.4ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:07:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:07:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:07:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:07:52 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:03 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (31.5ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (90.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (95.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (3.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:04.241027' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 193ms (Views: 144.7ms | ActiveRecord: 6.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:08:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:08:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:08:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:08:04 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:05 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (29.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (31.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:05.241378' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 60.8ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:08:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:08:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:08:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:08:05 -0300 Started PATCH "/users/1" for ::1 at 2015-03-03 11:08:10 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"FfFhW1fa2F+zLXqW+eGJR9YkshAyp67XtsBbe58gTYvN9gOSr2bMf0ZFD6RdUdOOA34zxdOjmdryX25TpCKWbQ==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"0"=>{"group_id"=>"1", "permissions_attributes"=>{"1425391687523"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: permissions_attributes Unpermitted parameter: active  (0.1ms) begin transaction GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = 1 [["user_id", 1]] SQL (0.4ms) UPDATE "users" SET "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["salt", "3qp34s48MHt3FqhtqxnB"], ["crypted_password", "$2a$10$/QJfdu5lzuVAva0cjmv.M.h/.3iHSoicMa./mUlco45SfaTy5dWda"], ["updated_at", "2015-03-03 14:08:10.607703"], ["id", 1]]  (25.1ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (72.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:10.637371' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 264ms (ActiveRecord: 98.5ms) Started GET "/users/1" for ::1 at 2015-03-03 11:08:10 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (33.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:10.767736' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 39.8ms | ActiveRecord: 33.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:08:10 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:08:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:08:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:08:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:12 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (8.2ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:12.463231' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 56.0ms | ActiveRecord: 3.1ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:08:12 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:08:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:08:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:08:12 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:13 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (23.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:08:14.054258' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 74ms (Views: 68.6ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:08:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:08:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:08:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:08:14 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:54 -0300 SyntaxError (/Users/paulomoura/projetos/curupira/app/controllers/curupira/users_controller.rb:41: syntax error, unexpected ']', expecting => ...es: [:id, :role_id], :_destroy]) ... ^): /Users/paulomoura/projetos/curupira/app/controllers/curupira/users_controller.rb:41: syntax error, unexpected ']', expecting => ...es: [:id, :role_id], :_destroy]) ... ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.0ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 11:08:55 -0300 SyntaxError (/Users/paulomoura/projetos/curupira/app/controllers/curupira/users_controller.rb:41: syntax error, unexpected ']', expecting => ...es: [:id, :role_id], :_destroy]) ... ^): /Users/paulomoura/projetos/curupira/app/controllers/curupira/users_controller.rb:41: syntax error, unexpected ']', expecting => ...es: [:id, :role_id], :_destroy]) ... ^ activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `load' activesupport (4.2.0) lib/active_support/dependencies.rb:457:in `block in load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:647:in `new_constants_in' activesupport (4.2.0) lib/active_support/dependencies.rb:456:in `load_file' activesupport (4.2.0) lib/active_support/dependencies.rb:354:in `require_or_load' activesupport (4.2.0) lib/active_support/dependencies.rb:494:in `load_missing_constant' activesupport (4.2.0) lib/active_support/dependencies.rb:184:in `const_missing' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get' activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject' activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize' activesupport (4.2.0) lib/active_support/dependencies.rb:566:in `get' activesupport (4.2.0) lib/active_support/dependencies.rb:597:in `constantize' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.6ms) Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:24 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (28.4ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (22.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (66.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (68.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:24.536905' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 121ms (Views: 93.3ms | ActiveRecord: 4.7ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:24 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:24 -0300 Started PATCH "/users/1" for ::1 at 2015-03-03 11:09:29 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MIb894/lCIAMeLSawsxAzVJXpdL3IaixGSJV0zcbW0nogZ4+d1kcoPkQwahmfBoEhw0kBxYln7xdvWD7DBmArw==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"0"=>{"group_id"=>"1", "permissions_attributes"=>{"1425391766917"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = 1 [["user_id", 1]] SQL (0.3ms) UPDATE "users" SET "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["salt", "oqwDPdqPRsxcFEaLjpeB"], ["crypted_password", "$2a$10$OkIhV/3.7bWkusVeYJP/ouzWeaabSgvfwDmAobEUfGxjmjg2iRbcK"], ["updated_at", "2015-03-03 14:09:29.741249"], ["id", 1]] SQL (0.2ms) INSERT INTO "permissions" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 1], ["created_at", "2015-03-03 14:09:29.743512"], ["updated_at", "2015-03-03 14:09:29.743512"]]  (1.3ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:29.747264' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 164ms (ActiveRecord: 3.7ms) Started GET "/users/1" for ::1 at 2015-03-03 11:09:29 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:29.787643' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:29 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:32 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.3ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.5ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (26.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (29.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:32.833349' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 55.0ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:32 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:34 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.6ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.8ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (23.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (25.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:34.538432' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 51.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:34 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:35 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (9.4ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (23.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (24.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:35.226668' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 51.2ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:35 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.0ms) CACHE (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.8ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:35.666105' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 51.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:35 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:35 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.0ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:36.032365' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 49.5ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:36 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.8ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.2ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (26.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:36.461402' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 60ms (Views: 55.2ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:36 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:09:46 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:46.996605' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.0ms | ActiveRecord: 3.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/users/1" for ::1 at 2015-03-03 11:09:47 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (4.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:47.762528' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:47 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:50 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.6ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (27.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (29.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:50.229716' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 52.6ms | ActiveRecord: 3.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:50 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:50 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:09:51 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.5ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.2ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (28.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:09:51.426952' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.6ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:09:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:09:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:09:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:09:51 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:11:10 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.4ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.2ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:11:10.568244' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.1ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:11:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:11:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:11:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:11:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:11:11 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (9.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:11:11.347547' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 48.2ms | ActiveRecord: 2.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:11:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:11:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:11:11 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:11:11 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:11:18 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:11:36 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.8ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.9ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (28.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (31.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:11:36.648277' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 55.0ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:11:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:11:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:11:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:11:36 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:12:44 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.4ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.8ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:12:44.474941' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 51.0ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:12:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:12:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:12:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:12:44 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:12:45 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.7ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.6ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (23.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:12:45.534939' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 49.3ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:12:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:12:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:12:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:12:45 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:12:51 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.6ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:12:51.851690' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 49.5ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:12:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:12:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:12:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:12:51 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:00 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.6ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:00.734852' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 50.7ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:00 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:00 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:10 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.9ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (13.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (27.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (29.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:10.086482' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.6ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:10 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.9ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (11.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (26.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:10.847615' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 52.0ms | ActiveRecord: 3.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:11 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.9ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.2ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (26.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (10.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:11.382705' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 50.6ms | ActiveRecord: 11.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:11 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:15 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.1ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (16.1ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (29.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (31.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:15.081761' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 60ms (Views: 54.3ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:15 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:16 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.2ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.5ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (25.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (27.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:16.719143' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.5ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:16 -0300 Started PATCH "/users/1" for ::1 at 2015-03-03 11:13:47 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"MkiSTbWrGuMpxtWVZ1GFEKX88yJpTEB5mR8Yuo1Js3HqT/CETRcOw9yuoKfD4d/ZcKZy94hId3TdgC2Stktolw==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"0"=>{"group_id"=>"1", "permissions_attributes"=>{"0"=>{"role_id"=>"1", "_destroy"=>"false", "id"=>"1"}}, "_destroy"=>"false", "id"=>"1"}, "1425392012512"=>{"group_id"=>"1", "permissions_attributes"=>{"1425392016577"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: _destroy Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = 1 [["user_id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? AND "permissions"."id" = 1 [["group_user_id", 1]] SQL (0.3ms) UPDATE "users" SET "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["salt", "9AS6Wpx8XaxzkVsC8iVq"], ["crypted_password", "$2a$10$Mvx.JpN8JoIdHrlWcYFnMe0IaQhOmFBpYWWQo5hLBYC6rluKeH0aK"], ["updated_at", "2015-03-03 14:13:48.102609"], ["id", 1]] SQL (0.3ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1], ["created_at", "2015-03-03 14:13:48.104627"], ["updated_at", "2015-03-03 14:13:48.104627"]] SQL (0.2ms) INSERT INTO "permissions" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 2], ["created_at", "2015-03-03 14:13:48.106410"], ["updated_at", "2015-03-03 14:13:48.106410"]]  (1.8ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:48.110622' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 176ms (ActiveRecord: 4.5ms) Started GET "/users/1" for ::1 at 2015-03-03 11:13:48 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 2]] CACHE (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:48.154435' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:48 -0300 Started GET "/users" for ::1 at 2015-03-03 11:13:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:51.773670' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:51 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-03 11:13:53 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.2ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (12.9ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 2]] CACHE (0.0ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.3ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.9ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (40.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (42.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 14:13:53.921734' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 73ms (Views: 66.2ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 11:13:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 11:13:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 11:13:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 11:13:53 -0300  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateFeatures (20150224203113)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150224203113_create_features.rb:10)  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150224203113"]]  (1.3ms) commit transaction Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (5.1ms) commit transaction Migrating to CreateGroupUsers (20150226132249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226132249"]]  (1.8ms) commit transaction Migrating to CreateGroups (20150226170654)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170654"]]  (2.3ms) commit transaction Migrating to CreateRoles (20150226170655)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170655"]]  (1.8ms) commit transaction Migrating to CreateAuthorizations (20150227034046)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227034046"]]  (1.6ms) commit transaction Migrating to CreatePermissions (20150303134756)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.2ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134756"]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" User Load (22.8ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (28.3ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "ngiNXttLCyZ4ihpwzvze"], ["crypted_password", "$2a$10$u0NzEmqI.q9Jei/oBqT8yuU5Al0FnhAMZgrMz/hkRbolXz7TAgv7G"], ["created_at", "2015-03-03 19:48:14.731543"], ["updated_at", "2015-03-03 19:48:14.731543"]]  (9.6ms) commit transaction Started GET "/" for ::1 at 2015-03-03 16:48:24 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (2.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (56.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:48:24.953302' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 244ms (Views: 237.8ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:48:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:48:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:48:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:48:25 -0300 Started GET "/groups" for ::1 at 2015-03-03 16:48:29 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:48:29.855757' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 33.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:48:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:48:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:48:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:48:29 -0300 Started GET "/features" for ::1 at 2015-03-03 16:48:32 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (34.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:48:32.796365' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 78ms (Views: 36.0ms | ActiveRecord: 35.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:48:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:48:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:48:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:48:32 -0300 Started GET "/features/new" for ::1 at 2015-03-03 16:48:33 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (46.0ms) Completed 500 Internal Server Error in 61ms ActionView::Template::Error (undefined method `path_info' for #): 7:
8:
9: <%= f.label :path_info, "URL" %>
10: <%= f.text_field :path_info %> 11:
12:
13: <%= f.label :request_method, "Método" %>
activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:37:in `value_before_type_cast' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1322:in `text_field' /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb:10:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_features_new_html_erb___419242248388861298_70264086738160' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_features_new_html_erb___419242248388861298_70264086738160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.0ms) Started GET "/features/new" for ::1 at 2015-03-03 16:49:34 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:49:34.679742' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 35.3ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:49:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:49:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:49:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:49:34 -0300 Started POST "/features" for ::1 at 2015-03-03 16:49:58 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tHuI7GStCCwRyYIpNwM+uEyUvkBQjhEvOJJ9ssWFmStsfOolnBEcDOSh9xuTs2Rxmc4/lbGKJiJ8DUia/odCzQ==", "feature"=>{"description"=>"Cadastrar Perfil", "controller"=>"roles", "action"=>"new", "request_method"=>"GET"}, "commit"=>"Create Feature"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("description", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["description", "Cadastrar Perfil"], ["request_method", "GET"], ["created_at", "2015-03-03 19:49:58.324577"], ["updated_at", "2015-03-03 19:49:58.324577"]]  (1.3ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:49:58.328681' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 9ms (ActiveRecord: 3.7ms) Started GET "/features/1" for ::1 at 2015-03-03 16:49:58 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (3.0ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined method `path_info' for #): 6: 7:
    8:
  • Descrição: <%= @feature.description %>
  • 9:
  • URL: <%= @feature.path_info %>
  • 10:
  • Método: <%= @feature.request_method %>
  • 11:
  • Ativo: <%= @feature.active %>
  • 12:
activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb:9:in `___sers_paulomoura_projetos_curupira_app_views_curupira_features_show_html_erb__3720413934296117150_70264086114200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.6ms) Started GET "/features/1" for ::1 at 2015-03-03 16:50:25 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:50:25.715759' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 43.8ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:50:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:50:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:50:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:50:25 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-03 16:50:28 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (4.3ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (undefined method `path_info' for #): 8: 9:
10: <%= f.label :path_info, "URL" %>
11: <%= f.text_field :path_info %> 12:
13: 14:
activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `public_send' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:28:in `value' actionview (4.2.0) lib/action_view/helpers/tags/base.rb:37:in `value_before_type_cast' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `block in render' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `fetch' actionview (4.2.0) lib/action_view/helpers/tags/text_field.rb:13:in `render' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:787:in `text_field' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1322:in `text_field' /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb:11:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_features_edit_html_erb___3479263678789926569_70264108577440' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_features_edit_html_erb___3479263678789926569_70264108577440' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.1ms) Started GET "/features/1/edit" for ::1 at 2015-03-03 16:51:21 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (35.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:51:21.444700' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 62.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:51:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:51:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:51:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:51:21 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-03 16:51:22 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:51:22.849262' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:51:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:51:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:51:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:51:22 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-03 16:51:23 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:51:23.265024' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.5ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:51:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:51:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:51:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:51:23 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-03 16:51:57 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:51:57.465238' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:51:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:51:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:51:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:51:57 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-03 16:51:57 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (28.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-03 19:51:58.015673' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 26.8ms | ActiveRecord: 29.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-03 16:51:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-03 16:51:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-03 16:51:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-03 16:51:58 -0300 User Load (0.7ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 User Load (14.1ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" User Load (0.2ms) SELECT "users".* FROM "users" Started GET "/" for ::1 at 2015-03-04 08:48:15 -0300 ActiveRecord::SchemaMigration Load (60.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (2.2ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (62.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (37.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:48:16.272956' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 426ms (Views: 386.2ms | ActiveRecord: 38.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:48:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:48:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:48:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:48:16 -0300 Started GET "/users" for ::1 at 2015-03-04 08:48:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:48:19.082992' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 44.9ms | ActiveRecord: 2.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:48:19 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:48:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:48:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:48:19 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 08:48:20 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (22.9ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.6ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (18.9ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (39.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (109.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (294.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (336.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:48:20.985212' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 392ms (Views: 343.2ms | ActiveRecord: 45.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:48:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:48:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:48:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:48:21 -0300 Started GET "/features" for ::1 at 2015-03-04 08:48:28 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (18.5ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (53.7ms) Completed 500 Internal Server Error in 90ms ActionView::Template::Error (undefined method `path_info' for #): 18: <% @features.each do |feature| %> 19: 20: <%= feature.description %> 21: <%= feature.path_info %> 22: <%= feature.request_method %> 23: <%= feature.active %> 24: <%= link_to "Editar", edit_feature_path(feature) %> activemodel (4.2.0) lib/active_model/attribute_methods.rb:433:in `method_missing' /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb:21:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_features_index_html_erb___3136343174696728004_70267344173600' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_features_index_html_erb___3136343174696728004_70267344173600' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.5ms) Started GET "/features" for ::1 at 2015-03-04 08:49:12 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.4ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (6.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:49:12.313136' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 32.9ms | ActiveRecord: 7.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:49:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:49:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:49:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:49:12 -0300 Started GET "/features" for ::1 at 2015-03-04 08:49:22 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:49:22.707594' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 28.9ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:49:22 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:49:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:49:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:49:22 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-04 08:49:28 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (3.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:49:28.671324' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 54.4ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:49:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:49:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:49:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:49:28 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-04 08:50:07 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:07.614350' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 29.2ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:07 -0300 Started PATCH "/features/1" for ::1 at 2015-03-04 08:50:14 -0300 Processing by Curupira::FeaturesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V20HoQyOmnTfWSqA2tmPlGC8gQiW0S6G76b4tpukHSqPamVo9DKOVCoxX7J+adVdteYA3XfVGYurOc2eoKbGzA==", "feature"=>{"description"=>"Cadastrar Perfil", "controller"=>"roles", "action"=>"new", "request_method"=>"GET", "active"=>"1"}, "commit"=>"Update Feature", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: active  (0.2ms) begin transaction SQL (0.4ms) UPDATE "features" SET "controller" = ?, "action" = ?, "updated_at" = ? WHERE "features"."id" = ? [["controller", "roles"], ["action", "new"], ["updated_at", "2015-03-04 11:50:14.445890"], ["id", 1]]  (7.7ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:14.457666' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 20ms (ActiveRecord: 10.5ms) Started GET "/features/1" for ::1 at 2015-03-04 08:50:14 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:14.607688' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 68ms (Views: 63.8ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:14 -0300 Started GET "/features" for ::1 at 2015-03-04 08:50:19 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:19.604677' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 28.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:19 -0300 Started GET "/features" for ::1 at 2015-03-04 08:50:21 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:21.170854' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:21 -0300 Started GET "/features/1/edit" for ::1 at 2015-03-04 08:50:23 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:23.545141' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 28.9ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:23 -0300 Started GET "/roles" for ::1 at 2015-03-04 08:50:27 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:27.397121' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 48.4ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:27 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:27 -0300 Started GET "/roles/new" for ::1 at 2015-03-04 08:50:28 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (58.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (79.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:28.760291' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 137ms (Views: 129.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:28 -0300 Started POST "/roles" for ::1 at 2015-03-04 08:50:42 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SvXUJuc/j9k+Oa8Ob8YqvpqsOfeTpYEgGL84JYsmd3iS8rbvH4Ob+ctR2jzLdnB3T/a4InKhti1cIA0NsCSsng==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"1425469836925"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrista"]] SQL (0.2ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-03-04 11:50:42.076563"], ["updated_at", "2015-03-04 11:50:42.076563"]]  (24.2ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (21.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:42.102921' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 53ms (ActiveRecord: 46.7ms) Started GET "/roles/1" for ::1 at 2015-03-04 08:50:42 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (39.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:42.213488' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 80ms (Views: 74.3ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:42 -0300 Started GET "/groups" for ::1 at 2015-03-04 08:50:45 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:45.433558' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 49.3ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:45 -0300 Started GET "/groups/new" for ::1 at 2015-03-04 08:50:46 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (14.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:46.739278' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 69.3ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:46 -0300 Started POST "/groups" for ::1 at 2015-03-04 08:50:53 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8wFlUo1IQJXvQByoIvtPWQAz7c5Zm61ziZEuen3KHSIrBgebdfRUtRooaZqGSxWQ1WlsG7ifmn7NDhtSRsjGxA==", "group"=>{"name"=>"Meu Grupo", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Meu Grupo"], ["active", "t"], ["created_at", "2015-03-04 11:50:53.902487"], ["updated_at", "2015-03-04 11:50:53.902487"]]  (53.3ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (19.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:53.959174' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 80ms (ActiveRecord: 74.0ms) Started GET "/groups/1" for ::1 at 2015-03-04 08:50:53 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 11:50:54.041411' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 48.0ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 08:50:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 08:50:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 08:50:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 08:50:54 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateGroupRoles (20150304122755)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "belongs_to" varchar, "group" varchar, "role" varchar)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150304122755"]]  (1.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT 1 Group Load (0.2ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT 1 Group Load (0.2ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT 1 Group Load (0.2ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT 1 Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? [[nil, 1]] SQLite3::SQLException: no such column: group_roles.group_id: SELECT "roles".* FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) begin transaction  (0.1ms) rollback transaction Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? [[nil, 1]] SQLite3::SQLException: no such column: group_roles.group_id: SELECT "roles".* FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ?  (0.2ms) SELECT COUNT(*) FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? [[nil, 1]] SQLite3::SQLException: no such column: group_roles.group_id: SELECT COUNT(*) FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? Role Load (0.2ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT 1 Group Load (0.2ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT 1  (7.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateFeatures (20150224203113)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150224203113_create_features.rb:10)  (0.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150224203113"]]  (1.4ms) commit transaction Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (2.9ms) commit transaction Migrating to CreateGroupUsers (20150226132249)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226132249"]]  (1.6ms) commit transaction Migrating to CreateGroups (20150226170654)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170654"]]  (4.6ms) commit transaction Migrating to CreateRoles (20150226170655)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170655"]]  (1.4ms) commit transaction Migrating to CreateAuthorizations (20150227034046)  (0.2ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227034046"]]  (1.5ms) commit transaction Migrating to CreatePermissions (20150303134756)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.2ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134756"]]  (2.0ms) commit transaction Migrating to CreateGroupRoles (20150304122755)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer)   (0.1ms) CREATE INDEX "index_group_roles_on_role_id" ON "group_roles" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_roles_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_roles_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_group_roles_on_group_id" ON "group_roles" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150304122755"]]  (1.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_roles_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_roles_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_roles_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_roles_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "mVUTxhq6ueUUXbfep7zQ"], ["crypted_password", "$2a$10$dJhU7LXGrF2lgwrheXkdHO5GWWvixtshJ.t8bRAz34iaIwL0urHhO"], ["created_at", "2015-03-04 12:51:23.780139"], ["updated_at", "2015-03-04 12:51:23.780139"]]  (2.3ms) commit transaction Started GET "/groups/1" for ::1 at 2015-03-04 09:51:53 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 72ms ActiveRecord::RecordNotFound (Couldn't find Group with 'id'=1): activerecord (4.2.0) lib/active_record/core.rb:154:in `find' /Users/paulomoura/projetos/curupira/app/controllers/curupira/groups_controller.rb:7:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.9ms) Started GET "/groups/1" for ::1 at 2015-03-04 09:51:54 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find Group with 'id'=1): activerecord (4.2.0) lib/active_record/core.rb:154:in `find' /Users/paulomoura/projetos/curupira/app/controllers/curupira/groups_controller.rb:7:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.7ms) Started GET "/groups/1" for ::1 at 2015-03-04 09:51:55 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find Group with 'id'=1): activerecord (4.2.0) lib/active_record/core.rb:154:in `find' /Users/paulomoura/projetos/curupira/app/controllers/curupira/groups_controller.rb:7:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (48.8ms) Started GET "/groups/1" for ::1 at 2015-03-04 09:51:55 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 1ms ActiveRecord::RecordNotFound (Couldn't find Group with 'id'=1): activerecord (4.2.0) lib/active_record/core.rb:154:in `find' /Users/paulomoura/projetos/curupira/app/controllers/curupira/groups_controller.rb:7:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.2ms) Started GET "/groups/1" for ::1 at 2015-03-04 09:51:56 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find Group with 'id'=1): activerecord (4.2.0) lib/active_record/core.rb:154:in `find' /Users/paulomoura/projetos/curupira/app/controllers/curupira/groups_controller.rb:7:in `show' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.6ms) Started GET "/" for ::1 at 2015-03-04 09:51:58 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.3ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:51:58.945962' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 157ms (Views: 152.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:51:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:51:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:51:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:51:58 -0300 Started GET "/" for ::1 at 2015-03-04 09:52:01 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:01.956855' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:01 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:02 -0300 Started GET "/session" for ::1 at 2015-03-04 09:52:03 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.3ms) UPDATE "users" SET "last_logout_at" = '2015-03-04 12:52:03.095399' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 5ms (ActiveRecord: 2.5ms) Started GET "/session/new" for ::1 at 2015-03-04 09:52:03 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (50.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 95ms (Views: 93.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:03 -0300 Started POST "/session" for ::1 at 2015-03-04 09:52:04 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1aEsj1O/vX4WVqtKqm0nVkmiv0AaLkEk7J1sjz/GVPbPyVGHARKD93wDP73FgpKAIrcTEoI2HfuTn4xO0zDwqA==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (1.4ms) UPDATE "users" SET "last_login_at" = '2015-03-04 12:52:04.738240' WHERE "users"."id" = ? [["id", 1]] SQL (1.3ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:04.744128' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 162ms (ActiveRecord: 4.2ms) Started GET "/" for ::1 at 2015-03-04 09:52:04 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:04.781918' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:04 -0300 Started GET "/features" for ::1 at 2015-03-04 09:52:07 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:07.316633' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 36.7ms | ActiveRecord: 2.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:07 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:07 -0300 Started GET "/features/new" for ::1 at 2015-03-04 09:52:08 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (53.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:08.414150' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 140ms (Views: 127.6ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:08 -0300 Started POST "/features" for ::1 at 2015-03-04 09:52:14 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ew/wQfNvShlgzi5SmHtoDKvTkljo5JzuQKoAbB/S2hVhZ41JocJ0kAqbuqX3lN3awMY+CnD8wDE/qOCt8yR+Sw==", "feature"=>{"description"=>"Cadastrar Perfil", "controller"=>"roles", "action"=>"new", "request_method"=>"GET"}, "commit"=>"Create Feature"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("description", "controller", "action", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Cadastrar Perfil"], ["controller", "roles"], ["action", "new"], ["request_method", "GET"], ["created_at", "2015-03-04 12:52:14.701609"], ["updated_at", "2015-03-04 12:52:14.701609"]]  (21.7ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:14.726035' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 30ms (ActiveRecord: 24.1ms) Started GET "/features/1" for ::1 at 2015-03-04 09:52:14 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:14.769836' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:14 -0300 Started GET "/roles" for ::1 at 2015-03-04 09:52:16 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:16.964249' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 42.5ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/roles/new" for ::1 at 2015-03-04 09:52:17 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (21.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (72.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (75.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (5.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:17.821751' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 123ms (Views: 102.5ms | ActiveRecord: 6.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:17 -0300 Started POST "/roles" for ::1 at 2015-03-04 09:52:23 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"nMwfmgWj1QtsnUfSOb5r6Kjzxp9oO7Y8L9hI0ZD45PCGpGKSVw7rggbI0yVWUd4+w+ZqzfAj6uNQ2qgQfA5Arg==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"1425473540957"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrista"]] SQL (0.4ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-03-04 12:52:23.112248"], ["updated_at", "2015-03-04 12:52:23.112248"]]  (22.5ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (4.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:23.138330' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 39ms (ActiveRecord: 28.2ms) Started GET "/roles/1" for ::1 at 2015-03-04 09:52:23 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (11.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:23.197063' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 40.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:23 -0300 Started GET "/groups" for ::1 at 2015-03-04 09:52:25 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:25.102610' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 42.2ms | ActiveRecord: 3.0ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:25 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:25 -0300 Started GET "/groups/new" for ::1 at 2015-03-04 09:52:26 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (27.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (31.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:26.142904' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 59.8ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:26 -0300 Started POST "/groups" for ::1 at 2015-03-04 09:52:29 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Uo9z8Ao44RkhDGbhSMbcABEHAI2aCg/VinR2GuE/s4xI5w74WJXfkEtZ8hYnKWnWehKs3wISUwr1dpbbDckX0g==", "group"=>{"name"=>"Meu Grupo", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Meu Grupo"], ["active", "t"], ["created_at", "2015-03-04 12:52:29.578557"], ["updated_at", "2015-03-04 12:52:29.578557"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:29.583831' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 12ms (ActiveRecord: 4.4ms) Started GET "/groups/1" for ::1 at 2015-03-04 09:52:29 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:29.638515' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 35.5ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:29 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:29 -0300 Started GET "/users" for ::1 at 2015-03-04 09:52:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:33.072277' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 37.2ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:33 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 09:52:35 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (16.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (65.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (68.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:35.322128' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 97.3ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:35 -0300 Started PATCH "/users/1" for ::1 at 2015-03-04 09:52:42 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"gYNg116pLiC3PiVoPdtPnlhTIzLbQf3QsJkYNJ+GoJmb6x3fDAQQqd1rsZ9SNPpIM0aPYENZoQ/Pm/j1c3AExw==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1425473557303"=>{"group_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.5ms) UPDATE "users" SET "username" = ?, "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["username", "paulociecomp@gmail.com"], ["salt", "M5wzLm2dsWcokzZKmwzn"], ["crypted_password", "$2a$10$JZK7UxjjBieKDrF1UEvNEujoRyHbCb3R0uZ8JQHPD2fLVwlcZ5zJe"], ["updated_at", "2015-03-04 12:52:42.694661"], ["id", 1]] SQL (0.2ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1], ["created_at", "2015-03-04 12:52:42.698035"], ["updated_at", "2015-03-04 12:52:42.698035"]]  (3.2ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:42.704517' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 170ms (ActiveRecord: 6.0ms) Started GET "/users/1" for ::1 at 2015-03-04 09:52:42 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.3ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 12:52:42.790762' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 68.3ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 09:52:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 09:52:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 09:52:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 09:52:42 -0300 Role Load (0.1ms) SELECT "roles".* FROM "roles" ORDER BY "roles"."id" ASC LIMIT 1 Group Load (0.2ms) SELECT "groups".* FROM "groups" ORDER BY "groups"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "group_roles" ("group_id", "role_id") VALUES (?, ?) [["group_id", 1], ["role_id", 1]]  (2.0ms) commit transaction User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 Group Load (0.3ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ? [["user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "group_roles" ON "roles"."id" = "group_roles"."role_id" WHERE "group_roles"."group_id" = ? [["group_id", 1]] GroupRole Load (0.3ms) SELECT "group_roles".* FROM "group_roles" WHERE "group_roles"."group_id" = ? [["group_id", 1]] Permission Load (0.3ms) SELECT "permissions".* FROM "permissions" INNER JOIN "group_users" ON "permissions"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" User Load (0.2ms) SELECT "users".* FROM "users" GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" IN (1) Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" IN (1)  (0.3ms) SELECT COUNT(*) FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roless' User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') SQLite3::SQLException: no such column: users.user: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') SQLite3::SQLException: no such column: users.user: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') ORDER BY "users"."id" ASC LIMIT 1 SQLite3::SQLException: no such column: users.user: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') ORDER BY "users"."id" ASC LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') ORDER BY "users"."id" ASC LIMIT 1 SQLite3::SQLException: no such column: users.user: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') ORDER BY "users"."id" ASC LIMIT 1 User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new')) AND "features"."controller" = 'roles' AND "features"."action" = 'new' SQLite3::SQLException: no such column: users.user: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new')) AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "features"."controller" = 'roles' AND "features"."action" = 'new'  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "email@email.com"], ["name", "outro"], ["salt", "7xVzwen6FxoKRCqt6cVh"], ["crypted_password", "$2a$10$Ufk2icQsiNDHtOiE4BfNg.llxBTt2S6Z1ncXastahgr.N.Cd1T40W"], ["created_at", "2015-03-04 14:43:52.392229"], ["updated_at", "2015-03-04 14:43:52.392229"]]  (77.4ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new' SQLite3::SQLException: no such column: groups.users: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new') SQLite3::SQLException: no such column: groups.users: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new') User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new')) SQLite3::SQLException: no such column: groups.users: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new')) User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new'))) SQLite3::SQLException: no such column: groups.users: SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."user" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "groups"."users" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new') AND "features"."controller" = 'roles' AND "features"."action" = 'new'))) User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "users"."id" = 1 AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "users"."id" = 2 AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "users"."id" = 1 AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "users"."id" = 1 AND "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" IN (SELECT "users"."id" FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "users"."id" = 1 AND "features"."controller" = 'roles' AND "features"."action" = 'new') User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" = 1 User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" = 1 User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "users"."id" = 1 Started GET "/" for ::1 at 2015-03-04 15:21:41 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.7ms) User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (48.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:21:41.677247' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 248ms (Views: 241.3ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:21:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:21:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:21:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:21:41 -0300 Started GET "/users" for ::1 at 2015-03-04 15:21:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:21:50.575222' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 84ms (Views: 78.0ms | ActiveRecord: 3.3ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:21:50 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:21:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:21:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:21:50 -0300 Started GET "/users" for ::1 at 2015-03-04 15:22:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 34ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (63.3ms) Started GET "/users" for ::1 at 2015-03-04 15:22:31 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 27ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.8ms) Started GET "/users" for ::1 at 2015-03-04 15:22:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.7ms) Started GET "/users" for ::1 at 2015-03-04 15:22:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.4ms) Started GET "/users" for ::1 at 2015-03-04 15:22:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.4ms) Started GET "/users" for ::1 at 2015-03-04 15:22:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (65.5ms) Started GET "/users" for ::1 at 2015-03-04 15:22:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.9ms) Started GET "/users" for ::1 at 2015-03-04 15:22:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.4ms) Started GET "/users" for ::1 at 2015-03-04 15:22:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.4ms) Started GET "/users" for ::1 at 2015-03-04 15:23:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:23:50.963701' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 29.3ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:23:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/users" for ::1 at 2015-03-04 15:23:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:23:51.871044' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.7ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:23:51 -0300 Started GET "/users" for ::1 at 2015-03-04 15:23:52 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:23:52.501151' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.6ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/users" for ::1 at 2015-03-04 15:23:52 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:23:52.924312' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:23:52 -0300 Started GET "/users" for ::1 at 2015-03-04 15:23:53 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:23:53.387937' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 26.1ms | ActiveRecord: 2.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:23:53 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:23:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:23:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:23:53 -0300 Started GET "/features" for ::1 at 2015-03-04 15:24:00 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (11.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:24:00.886178' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 36.4ms | ActiveRecord: 4.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:24:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:24:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:24:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:24:00 -0300 Started GET "/users" for ::1 at 2015-03-04 15:24:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:24:03.782482' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.7ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:24:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:24:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:24:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:24:03 -0300 Started GET "/users" for ::1 at 2015-03-04 15:24:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:24:04.380403' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/users" for ::1 at 2015-03-04 15:24:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:24:04.909540' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.6ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:24:04 -0300 Started GET "/users" for ::1 at 2015-03-04 15:24:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 27ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.0ms) Started GET "/users" for ::1 at 2015-03-04 15:24:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.5ms) Started GET "/users" for ::1 at 2015-03-04 15:26:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.6ms) Started GET "/users" for ::1 at 2015-03-04 15:26:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.2ms) Started GET "/users" for ::1 at 2015-03-04 15:26:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 10ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.7ms) Started GET "/users" for ::1 at 2015-03-04 15:26:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.5ms) Started GET "/users" for ::1 at 2015-03-04 15:26:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.6ms) Started GET "/users" for ::1 at 2015-03-04 15:26:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.4ms) Started GET "/users" for ::1 at 2015-03-04 15:28:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 26ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.8ms) Started GET "/users" for ::1 at 2015-03-04 15:28:35 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.7ms) Started GET "/users" for ::1 at 2015-03-04 15:28:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.5ms) Started GET "/users" for ::1 at 2015-03-04 15:28:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 25ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.3ms) Started GET "/users" for ::1 at 2015-03-04 15:28:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.6ms) Started GET "/users" for ::1 at 2015-03-04 15:28:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.2ms) Started GET "/users" for ::1 at 2015-03-04 15:29:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 24ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.1ms) Started GET "/users" for ::1 at 2015-03-04 15:29:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.0ms) Started GET "/users" for ::1 at 2015-03-04 15:29:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.8ms) Started GET "/users" for ::1 at 2015-03-04 15:29:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (58.2ms) Started GET "/users" for ::1 at 2015-03-04 15:29:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.5ms) Started GET "/users" for ::1 at 2015-03-04 15:29:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.6ms) Started GET "/users" for ::1 at 2015-03-04 15:29:19 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.5ms) Started GET "/users" for ::1 at 2015-03-04 15:29:19 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (7.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.1ms) Started GET "/users" for ::1 at 2015-03-04 15:29:19 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.8ms) Started GET "/users" for ::1 at 2015-03-04 15:29:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.4ms) Started GET "/users" for ::1 at 2015-03-04 15:29:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.3ms) Started GET "/users" for ::1 at 2015-03-04 15:29:24 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NameError (undefined local variable or method `user' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:25:in `has_authorization?' /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:10:in `authorize' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (49.5ms) Started GET "/users" for ::1 at 2015-03-04 15:29:42 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 77ms (ActiveRecord: 1.6ms) Started GET "/" for ::1 at 2015-03-04 15:29:42 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.3ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:42.364782' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 2.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:42 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:42 -0300 Started GET "/" for ::1 at 2015-03-04 15:29:43 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:43.341015' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.6ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:43 -0300 Started GET "/" for ::1 at 2015-03-04 15:29:44 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:44.979241' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:45 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:45 -0300 Started GET "/roles" for ::1 at 2015-03-04 15:29:46 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (4.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:46.661865' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 42.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:46 -0300 Started GET "/features" for ::1 at 2015-03-04 15:29:48 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (7.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:48.835302' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.3ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:48 -0300 Started GET "/groups" for ::1 at 2015-03-04 15:29:50 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:50.446661' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.5ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:50 -0300 Started GET "/users" for ::1 at 2015-03-04 15:29:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:29:51 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:51.875819' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.1ms | ActiveRecord: 3.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:51 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:51 -0300 Started GET "/users" for ::1 at 2015-03-04 15:29:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:29:55 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:55.539777' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.3ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:55 -0300 Started GET "/users" for ::1 at 2015-03-04 15:29:56 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:29:56 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (4.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:29:56.522172' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 26.0ms | ActiveRecord: 5.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:29:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:29:56 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:29:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:29:56 -0300 Started GET "/users" for ::1 at 2015-03-04 15:30:41 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 48ms (ActiveRecord: 2.3ms) Started GET "/" for ::1 at 2015-03-04 15:30:42 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:30:42.121172' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:30:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:30:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:30:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:30:42 -0300 Feature Load (0.3ms) SELECT "features".* FROM "features" ORDER BY "features"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.6ms) UPDATE "features" SET "controller" = ?, "action" = ?, "updated_at" = ? WHERE "features"."id" = ? [["controller", "users"], ["action", "index"], ["updated_at", "2015-03-04 18:31:34.854190"], ["id", 1]]  (2.0ms) commit transaction Started GET "/users" for ::1 at 2015-03-04 15:31:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-04 15:31:37 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:37.943951' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 27.5ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:37 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:39 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-04 15:31:39 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:39.637550' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:39 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:31:40 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:40.629544' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 25.2ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:40 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:41 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 17ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:31:41 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:41.450125' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 26ms (Views: 22.4ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/" for ::1 at 2015-03-04 15:31:41 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:41.833052' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:41 -0300 Started GET "/" for ::1 at 2015-03-04 15:31:42 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:42.650703' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 25.6ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:42 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:42 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:43 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:31:43 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:43.470018' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.6ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:43 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:44 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:31:44 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:44.667936' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 22.7ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:44 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:45 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:31:45 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:45.281017' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 26ms (Views: 21.8ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:45 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:31:45 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:45.629944' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 24.3ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:45 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:45 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:31:45 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (9.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:45.979728' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 22.2ms | ActiveRecord: 9.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:46 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:31:46 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:46.390012' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.5ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/users" for ::1 at 2015-03-04 15:31:46 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:31:46 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:31:46.730332' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.9ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:31:46 -0300 User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'users' AND "features"."action" = 'index' AND "users"."id" = 1 Started GET "/" for ::1 at 2015-03-04 15:32:21 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:21.720634' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 24.0ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:21 -0300 Started GET "/" for ::1 at 2015-03-04 15:32:28 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:28.177236' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 26.1ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/" for ::1 at 2015-03-04 15:32:28 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:28.590500' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.5ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:28 -0300 Started GET "/features" for ::1 at 2015-03-04 15:32:29 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (5.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:29.367145' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 33.9ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:29 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:30 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:30 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:30.272071' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 25.1ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:30 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:31 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:31 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:31.558375' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 26ms (Views: 23.5ms | ActiveRecord: 1.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:31 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:32 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:32.150231' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 23.5ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:32:32 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:32.494351' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 26.2ms | ActiveRecord: 1.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:32 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:32.824167' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:32 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:33 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (12.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:33.103910' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 24.6ms | ActiveRecord: 12.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:33 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:33.401286' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.4ms | ActiveRecord: 3.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:33 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:32:34 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:34.161488' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 24.6ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:32:34 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:34.503642' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 25ms (Views: 22.6ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (1.0ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET "/" for ::1 at 2015-03-04 15:32:34 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:34.816436' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:34 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:35 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:32:35 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:35.116548' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:35 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:35 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (27.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:35.882196' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 25.2ms | ActiveRecord: 27.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:35 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:32:36 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:36.191273' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.4ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:36 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:36.474751' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.8ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:32:36 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (9.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:36.730062' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 36.2ms | ActiveRecord: 9.2ms) Started GET "/users" for ::1 at 2015-03-04 15:32:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:36 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:36.811974' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:36 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET "/" for ::1 at 2015-03-04 15:32:37 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:37.059969' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.3ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/" for ::1 at 2015-03-04 15:32:37 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:37.369334' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.2ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET "/" for ::1 at 2015-03-04 15:32:37 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:37.633335' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.2ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:37 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (11.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:37.897628' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 28.8ms | ActiveRecord: 12.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:37 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:38 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:38 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:38.195257' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:38 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-04 15:32:38 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:38.425183' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 28.5ms | ActiveRecord: 1.8ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:38 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/" for ::1 at 2015-03-04 15:32:38 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:38.720271' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 30.4ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:38 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:38 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:38 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:38.987239' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 29.4ms | ActiveRecord: 1.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:39 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/" for ::1 at 2015-03-04 15:32:39 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:39.305409' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.8ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:39 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:39 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:39.569650' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 24ms (Views: 21.3ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:39 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:39 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:39.961688' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 28ms (Views: 24.2ms | ActiveRecord: 1.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:40 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:40.251470' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 26ms (Views: 23.1ms | ActiveRecord: 1.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:32:40 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:40.524749' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 26ms (Views: 22.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:40 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:40.765028' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 28.3ms | ActiveRecord: 1.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:40 -0300 Started GET "/users" for ::1 at 2015-03-04 15:32:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:32:40 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:32:40.998529' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:32:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:32:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:32:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:32:41 -0300 Started GET "/users" for ::1 at 2015-03-04 15:33:31 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 41ms (ActiveRecord: 1.9ms) Started GET "/" for ::1 at 2015-03-04 15:33:31 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:33:31.313732' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 27ms (Views: 23.7ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:33:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:33:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:33:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:33:31 -0300 Started GET "/users" for ::1 at 2015-03-04 15:33:42 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:33:42 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (5.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:33:42.988236' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 25.9ms | ActiveRecord: 5.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:33:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:33:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:33:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:33:43 -0300 Started GET "/users" for ::1 at 2015-03-04 15:33:44 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:33:44 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:33:44.465592' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 25.5ms | ActiveRecord: 2.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:33:44 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:33:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:33:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:33:44 -0300 Started GET "/users/index" for ::1 at 2015-03-04 15:33:51 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"index"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'show' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:33:51 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (16.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:33:51.873257' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 24.0ms | ActiveRecord: 16.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:33:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:33:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:33:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:33:51 -0300 Started GET "/users" for ::1 at 2015-03-04 15:34:18 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "features" SET "controller" = ?, "updated_at" = ? WHERE "features"."id" = ? [["controller", "curupira/users"], ["updated_at", "2015-03-04 18:35:10.566879"], ["id", 1]]  (2.1ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.6ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:16.543143' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57573ms (Views: 66.8ms | ActiveRecord: 5.0ms) Started GET "/groups" for ::1 at 2015-03-04 15:35:16 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (6.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:16.601005' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 37.8ms | ActiveRecord: 2.7ms) Started GET "/groups" for ::1 at 2015-03-04 15:35:16 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:16.647337' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 35.7ms | ActiveRecord: 2.0ms) Started GET "/features" for ::1 at 2015-03-04 15:35:16 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (9.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:16.706124' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 41.6ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:16 -0300 Started GET "/features" for ::1 at 2015-03-04 15:35:21 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.5ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:21.988298' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.7ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:22 -0300 Started GET "/roles" for ::1 at 2015-03-04 15:35:24 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (6.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:24.439411' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 39.4ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:24 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:26 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:32.441512' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 6096ms (Views: 30.9ms | ActiveRecord: 2.5ms) Started GET "/users" for ::1 at 2015-03-04 15:35:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:34.240757' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 1793ms (Views: 31.3ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:34 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:41 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:42.137675' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 134ms (Views: 54.5ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:42 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:43 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (3.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:43.691636' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:43 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:44 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (3.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:44.273881' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 30.8ms | ActiveRecord: 4.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:44 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:44.691625' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 33.2ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:44 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:45 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:45.557159' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:45 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:35:46 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:35:46 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.4ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:46.638505' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:46 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (5.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:50.324017' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 49.1ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:50 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:35:51 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:35:51 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (6.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:51.645062' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 26.8ms | ActiveRecord: 6.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:51 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:52 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (6.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:52.883052' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 45.6ms | ActiveRecord: 7.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:52 -0300 Started GET "/users/2/edit" for ::1 at 2015-03-04 15:35:53 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:35:53 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:53.945258' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 26.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:53 -0300 Started GET "/users" for ::1 at 2015-03-04 15:35:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:55.362754' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 34.0ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:55 -0300 Started GET "/users/2/edit" for ::1 at 2015-03-04 15:35:56 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:35:56 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:35:56.998578' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 29.3ms | ActiveRecord: 1.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:35:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:35:57 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:35:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:35:57 -0300 Started GET "/" for ::1 at 2015-03-04 15:36:07 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (21.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:36:07.157179' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 47.8ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:36:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:36:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:36:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:36:07 -0300 Started GET "/users" for ::1 at 2015-03-04 15:36:08 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.7ms) Started GET "/users" for ::1 at 2015-03-04 15:43:55 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 52ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (56.2ms) Started GET "/users" for ::1 at 2015-03-04 15:43:56 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.2ms) Started GET "/users" for ::1 at 2015-03-04 15:43:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.4ms) Started GET "/users" for ::1 at 2015-03-04 15:43:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (62.2ms) Started GET "/users" for ::1 at 2015-03-04 15:43:58 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (73.0ms) Started GET "/users" for ::1 at 2015-03-04 15:43:58 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.0ms) Started GET "/users" for ::1 at 2015-03-04 15:43:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 5ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.1ms) Started GET "/users" for ::1 at 2015-03-04 15:43:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.1ms) Started GET "/users" for ::1 at 2015-03-04 15:43:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.4ms) Started GET "/users" for ::1 at 2015-03-04 15:43:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (66.4ms) Started GET "/users" for ::1 at 2015-03-04 15:44:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 9ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.6ms) Started GET "/users" for ::1 at 2015-03-04 15:44:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 15ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.0ms) Started GET "/users" for ::1 at 2015-03-04 15:44:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 6ms NoMethodError (undefined method `authorize' for #): activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.3ms) Started GET "/users" for ::1 at 2015-03-04 15:44:54 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:44:54.395290' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 130ms (Views: 52.0ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:44:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:44:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:44:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:44:54 -0300 Started GET "/features" for ::1 at 2015-03-04 15:44:59 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (7.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:44:59.393478' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 40.8ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:44:59 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:44:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:44:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:44:59 -0300 Started GET "/users" for ::1 at 2015-03-04 15:45:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:00.899280' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 35.5ms | ActiveRecord: 2.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:00 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:00 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:45:02 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-04 15:45:02 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.5ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:02.308144' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 32.9ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:02 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:24 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.1ms) User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (28.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:24.766509' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 90ms (Views: 85.5ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:24 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:25 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (27.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:25.600613' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 24.5ms | ActiveRecord: 27.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:25 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:25 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:26 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:26.214394' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:26 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:26.767438' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 30.1ms | ActiveRecord: 2.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:26 -0300 Started GET "/users" for ::1 at 2015-03-04 15:45:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (34.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:28.890008' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 108ms (Views: 30.7ms | ActiveRecord: 36.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:28 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:45:31 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-04 15:45:31 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (16.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:31.375533' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 26.7ms | ActiveRecord: 16.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:31 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:31 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:45 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (32.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:45.849745' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 59ms (Views: 25.8ms | ActiveRecord: 32.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:45 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:46 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (26.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:46.377413' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 25.9ms | ActiveRecord: 26.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/" for ::1 at 2015-03-04 15:45:46 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.0ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (15.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:46.744198' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 28.0ms | ActiveRecord: 15.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:46 -0300 Started GET "/groups" for ::1 at 2015-03-04 15:45:47 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (69.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:47.390125' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 110ms (Views: 37.6ms | ActiveRecord: 70.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:47 -0300 Started GET "/groups/1/edit" for ::1 at 2015-03-04 15:45:48 -0300 Processing by Curupira::GroupsController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (64.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/edit.html.erb within layouts/application (67.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:48.575948' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 154ms (Views: 146.8ms | ActiveRecord: 2.8ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:48 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:48 -0300 Started GET "/users" for ::1 at 2015-03-04 15:45:49 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.6ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:49.942757' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 38.5ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:49 -0300 Started GET "/users/2" for ::1 at 2015-03-04 15:45:53 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'show' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:45:53 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.2ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:45:53.431422' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 30ms (Views: 26.4ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:45:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:45:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:45:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:45:53 -0300 Started GET "/" for ::1 at 2015-03-04 15:50:17 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (20.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:50:17.775932' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 47.1ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:50:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:50:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:50:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:50:17 -0300 Started GET "/users" for ::1 at 2015-03-04 15:50:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:50:20.554870' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 29.8ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:50:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:50:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:50:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:50:20 -0300 Started GET "/users" for ::1 at 2015-03-04 15:50:21 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (35.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:50:21.568542' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 68ms (Views: 27.6ms | ActiveRecord: 35.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:50:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:50:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:50:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:50:21 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:50:22 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-04 15:50:22 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (15.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:50:22.675728' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 21.7ms | ActiveRecord: 15.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:50:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:50:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:50:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:50:22 -0300 Started GET "/users" for ::1 at 2015-03-04 15:52:15 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:52:15.756482' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 28.5ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:52:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:52:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:52:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:52:15 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-04 15:52:17 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "group_roles" ON "group_roles"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "group_roles"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-04 15:52:17 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-04 18:52:17.156356' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 25.3ms | ActiveRecord: 2.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 15:52:17 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 15:52:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 15:52:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 15:52:17 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRolesGroups (20150303134443)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134443"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_group_roles_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_roles_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_roles_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_roles_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (376.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305011636)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011636"]]  (1.2ms) commit transaction Migrating to CreateAuthorizations (20150305011637)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011637"]]  (1.1ms) commit transaction Migrating to CreateFeatures (20150305011638)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011638_create_features.rb:9)  (0.4ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "path_info" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011638"]]  (3.6ms) commit transaction Migrating to CreateGroups (20150305011639)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011639"]]  (5.1ms) commit transaction Migrating to CreateRoles (20150305011640)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011640"]]  (1.0ms) commit transaction Migrating to SorceryCore (20150305011641)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011641_sorcery_core.rb:18)  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011641"]]  (3.3ms) commit transaction Migrating to CreateGroupUsers (20150305011642)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011642"]]  (1.3ms) commit transaction Migrating to CreateRoleGroups (20150305011643)  (30.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305011941)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.4ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.2ms) commit transaction Migrating to CreateFeatures (20150305011943)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011943_create_features.rb:9)  (0.4ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "path_info" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011943"]]  (1.4ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (1.3ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (1.9ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (6.7ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (1.1ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.2ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (5.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "wPFvsbbxMydddXjJAuaB"], ["crypted_password", "$2a$10$62Rf1kW0fnB/oB/pRM.fYOtFR6c5UR0sp.Kh4gUM2p8sIq2mbAsVW"], ["created_at", "2015-03-05 01:23:06.707722"], ["updated_at", "2015-03-05 01:23:06.707722"]]  (1.6ms) commit transaction Started GET "/" for ::1 at 2015-03-04 22:23:19 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.0ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (30.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:20.189646' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 165ms (Views: 158.3ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:20 -0300 Started GET "/roles" for ::1 at 2015-03-04 22:23:26 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:26.765576' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 31.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:26 -0300 Started GET "/roles/new" for ::1 at 2015-03-04 22:23:27 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (30.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (92.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (135.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:28.058341' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 174ms (Views: 164.6ms | ActiveRecord: 3.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:28 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:28 -0300 Started GET "/features" for ::1 at 2015-03-04 22:23:33 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (5.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:33.086828' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 36.5ms | ActiveRecord: 5.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:33 -0300 Started GET "/features/new" for ::1 at 2015-03-04 22:23:36 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (5.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (55.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:37.038385' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 95ms (Views: 32.3ms | ActiveRecord: 55.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:37 -0300 Started POST "/features" for ::1 at 2015-03-04 22:23:56 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"RpS8FW1bAF8A6lkQMs71WvKcYNabzxZClk79IgFfPLlc/MEdP/Y+1mq/zeddIUCMmYnMhAPXSp3pTB3j7amY5w==", "feature"=>{"description"=>"Cadastrar Perfil", "path_info"=>"afasdsad", "request_method"=>"GET"}, "commit"=>"Create Feature"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "features" ("description", "path_info", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["description", "Cadastrar Perfil"], ["path_info", "afasdsad"], ["request_method", "GET"], ["created_at", "2015-03-05 01:23:56.728276"], ["updated_at", "2015-03-05 01:23:56.728276"]]  (1.4ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:56.733283' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 16ms (ActiveRecord: 5.3ms) Started GET "/features/1" for ::1 at 2015-03-04 22:23:56 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:56.776769' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 27.9ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:56 -0300 Started GET "/features" for ::1 at 2015-03-04 22:23:58 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:58.752027' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.5ms | ActiveRecord: 2.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:58 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:58 -0300 Started GET "/roles" for ::1 at 2015-03-04 22:23:59 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:23:59.899745' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 33.0ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:23:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:23:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:23:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:23:59 -0300 Started GET "/roles/new" for ::1 at 2015-03-04 22:24:00 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (6.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:24:00.844783' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 40.1ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:24:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:24:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:24:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:24:00 -0300 Started POST "/roles" for ::1 at 2015-03-04 22:24:06 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCuM8pMhzU7NzWXJ+f5vQyBoWPMFZkINF5qRstjGlQiOQ/H6wYzzx6eY8T6WEdqVS330oZ1+HtJomHFzNDAxVg==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"1425518644694"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: feature_id  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrista"]]  (3.9ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:24:06.709967' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 14ms (ActiveRecord: 6.4ms) Started GET "/roles/1" for ::1 at 2015-03-04 22:24:06 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (13.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:24:06.767737' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 41.1ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:24:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:24:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:24:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:24:06 -0300 Started GET "/roles" for ::1 at 2015-03-04 22:26:46 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (75.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:26:46.886847' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 178ms (Views: 54.1ms | ActiveRecord: 76.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:26:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:26:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:26:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:26:47 -0300 Started GET "/roles/1/edit" for ::1 at 2015-03-04 22:26:49 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.3ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (14.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (61.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (63.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (60.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:26:49.247428' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 161ms (Views: 96.1ms | ActiveRecord: 61.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:26:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:26:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:26:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:26:49 -0300 Started PATCH "/roles/1" for ::1 at 2015-03-04 22:26:53 -0300 Processing by Curupira::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"F33FR3s699ZG296pEbM4moj+c3cTMEpGTwy0frS2peQNFbhPKZfJXyyOSl5+XI1M4+vfJYsoFpkwDlS/WEABug==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"1425518811482"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Role", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-03-05 01:26:53.461484"], ["updated_at", "2015-03-05 01:26:53.461484"]]  (1.3ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:26:53.467720' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 16ms (ActiveRecord: 4.8ms) Started GET "/roles/1" for ::1 at 2015-03-04 22:26:53 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (18.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:26:53.532243' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 47.4ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:26:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:26:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:26:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:26:53 -0300 Started GET "/roles/1" for ::1 at 2015-03-04 22:28:44 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (36.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (14.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:28:44.465772' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 155ms (Views: 87.6ms | ActiveRecord: 16.7ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:28:44 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:28:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:28:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:28:44 -0300 Started GET "/groups" for ::1 at 2015-03-04 22:28:48 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (48.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:28:48.179525' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 92ms (Views: 36.2ms | ActiveRecord: 48.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:28:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:28:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:28:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:28:48 -0300 Started GET "/groups/new" for ::1 at 2015-03-04 22:28:49 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (62.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (106.9ms) Completed 500 Internal Server Error in 122ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__1469040044459513749_70206650708840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb__3064376541145290187_70206650203500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (67.0ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:36:45 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 32ms NameError (undefined local variable or method `role_groups' for #): app/models/group.rb:4:in `' app/models/group.rb:1:in `' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.5ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:20 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.9ms) Completed 500 Internal Server Error in 42ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__1469040044459513749_70206686411980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb__3064376541145290187_70206650203500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.2ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:23 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (6.8ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__1469040044459513749_70206686411980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb__3064376541145290187_70206650203500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.9ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:23 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (4.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (6.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__1469040044459513749_70206686411980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb__3064376541145290187_70206650203500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.9ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:24 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (9.1ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__1469040044459513749_70206686411980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1002947914836008458_70206650268420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb__3064376541145290187_70206650203500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.7ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:35 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (17.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (27.2ms) Completed 500 Internal Server Error in 90ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303900993740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.6ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:35 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (4.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.2ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303900993740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.8ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:36 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (8.0ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303900993740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (70.8ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:37:36 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.2ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303900993740' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.1ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:39:15 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (8.1ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: pry 3: <% if f.object.role.blank? || f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> 6: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887123040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.3ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:39:20 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.9ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: pry 3: <% if f.object.role.blank? || f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> 6: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887123040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.2ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:39:21 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.9ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: pry 3: <% if f.object.role.blank? || f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> 6: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887123040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.1ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:39:32 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (36955.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (36959.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (36961.4ms) Completed 500 Internal Server Error in 36970ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303925354680' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.7ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:12 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.3ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303925065120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.5ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:13 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.8ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303925065120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.8ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:14 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.7ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303925065120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.7ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:14 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (6.1ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303925065120' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.2ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:25 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (6.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (8.0ms) Completed 500 Internal Server Error in 15ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.1ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:26 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.3ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.9ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:40:26 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (4.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (6.6ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.6ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:41:28 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (4.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (10.9ms) Completed 500 Internal Server Error in 47ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.1ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:41:30 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (8.8ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.6ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:41:31 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (7.6ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role' for nil:NilClass): 1:
2: <% if f.object.role.blank? || 3: f.object.role.active? %> 4: <%= f.select :role_id, active_role_select_options %> 5: <% else %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:2:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb__108790838894722521_70303887620500' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:16:in `block (2 levels) in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1598:in `fields_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:15:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1871523557369893406_70303923396420' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___2443187612933714515_70303923519820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.6ms) Started GET "/groups/new" for ::1 at 2015-03-04 22:41:45 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (12.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (40.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (42.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:41:45.825245' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 111ms (Views: 83.3ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:41:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:41:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:41:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:41:45 -0300 Started POST "/groups" for ::1 at 2015-03-04 22:42:00 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fpR10RozUegPyWZfur0+/QlDDgisw00OTy2or1WGhy5k/AjZSJ5vYWWc8qjVUosrYlaiWjTbEdEwL0huuXAjcA==", "group"=>{"name"=>"Meu Grupo", "active"=>"1", "role_groups_attributes"=>{"1425519711904"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Meu Grupo"], ["active", "t"], ["created_at", "2015-03-05 01:42:00.272091"], ["updated_at", "2015-03-05 01:42:00.272091"]] SQL (0.3ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 1], ["created_at", "2015-03-05 01:42:00.274604"], ["updated_at", "2015-03-05 01:42:00.274604"]]  (1.7ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:42:00.279231' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 16ms (ActiveRecord: 4.7ms) Started GET "/groups/1" for ::1 at 2015-03-04 22:42:00 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (4.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 01:42:00.328933' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 35.2ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 22:42:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 22:42:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 22:42:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 22:42:00 -0300  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateFeatures (20150224203113)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150224203113_create_features.rb:10)  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150224203113"]]  (1.5ms) commit transaction Migrating to SorceryCore (20150225165521)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150225165521_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150225165521"]]  (2.1ms) commit transaction Migrating to CreateGroupUsers (20150226132249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226132249"]]  (1.7ms) commit transaction Migrating to CreateGroups (20150226170654)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170654"]]  (2.0ms) commit transaction Migrating to CreateRoles (20150226170655)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150226170655"]]  (1.5ms) commit transaction Migrating to CreateAuthorizations (20150227034046)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.2ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150227034046"]]  (3.5ms) commit transaction Migrating to CreatePermissions (20150303134756)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.2ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150303134756"]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305021419)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.2ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021419"]]  (2.4ms) commit transaction Migrating to CreateAuthorizations (20150305021420)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021420"]]  (1.3ms) commit transaction Migrating to CreateFeatures (20150305021421)  (0.0ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305021421_create_features.rb:10)  (0.4ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021421"]]  (1.3ms) commit transaction Migrating to CreateGroups (20150305021422)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021422"]]  (1.8ms) commit transaction Migrating to CreateRoles (20150305021423)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021423"]]  (1.7ms) commit transaction Migrating to SorceryCore (20150305021424)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305021424_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021424"]]  (2.1ms) commit transaction Migrating to CreateGroupUsers (20150305021425)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021425"]]  (1.8ms) commit transaction Migrating to CreateRoleGroups (20150305021426)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021426"]]  (1.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  Started GET "/groups/1" for ::1 at 2015-03-04 23:19:55 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/session/new Filter chain halted as :require_login rendered or redirected Completed 302 Found in 32ms (ActiveRecord: 0.4ms) Started GET "/session/new" for ::1 at 2015-03-04 23:19:55 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (13.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 73ms (Views: 61.1ms | ActiveRecord: 0.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 23:19:55 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 23:19:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 23:19:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 23:19:55 -0300 Started POST "/session" for ::1 at 2015-03-04 23:19:57 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bgzb9f4gTxn1GOvlGsLVjV4KXsngkBRZQVcLoMvjCvF0ZKb9rI1xkJ9NfxJ1LWBbNR/ym3iISIY+VethJxWurw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 30.8ms | ActiveRecord: 0.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 23:19:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 23:19:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 23:19:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 23:19:57 -0300  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "Mk4qFPM8VBkLEkHXbeFn"], ["crypted_password", "$2a$10$nvL1ByoJyYrltT8m/8Ykh.cqG/Vp1QQsmZKuHja9uxlAV9ase/feO"], ["created_at", "2015-03-05 02:20:07.848754"], ["updated_at", "2015-03-05 02:20:07.848754"]]  (1.7ms) commit transaction Started POST "/session" for ::1 at 2015-03-04 23:20:15 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"UoHbsPCzkxIlmFURU0wYGqDlglv8yzR8XUQzon+ZakVI6aa4oh6tm0/NweY8o63My/AuCWTTaKMiRtNjk2/OGw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/ Filter chain halted as :redirect_to_root_with_errors rendered or redirected Completed 302 Found in 42ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-04 23:20:15 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 02:20:15.625361' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 46.4ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 23:20:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 23:20:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 23:20:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 23:20:15 -0300 Started GET "/users" for ::1 at 2015-03-04 23:20:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "role_groups" ON "role_groups"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "role_groups"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 47ms (ActiveRecord: 1.3ms) Started GET "/" for ::1 at 2015-03-04 23:20:17 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 02:20:17.965899' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 1.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-04 23:20:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-04 23:20:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-04 23:20:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-04 23:20:18 -0300 User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 User Load (13.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "groups" ON "groups"."id" = "group_users"."group_id" INNER JOIN "role_groups" ON "role_groups"."group_id" = "groups"."id" INNER JOIN "roles" ON "roles"."id" = "role_groups"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'users' AND "features"."action" = 'index' AND "users"."id" = 1 Started GET "/" for ::1 at 2015-03-05 10:54:16 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (2.3ms) User Load (6.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (40.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 13:54:16.859214' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 261ms (Views: 249.0ms | ActiveRecord: 9.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 10:54:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 10:54:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 10:54:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 10:54:16 -0300 Started GET "/users" for ::1 at 2015-03-05 10:54:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 13:54:18.434776' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 46.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 10:54:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 10:54:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 10:54:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 10:54:18 -0300 Started GET "/users/new" for ::1 at 2015-03-05 10:54:21 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (20.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (36.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (97.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (209.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (218.1ms) Completed 500 Internal Server Error in 302ms ActionView::Template::Error (undefined local variable or method `active_roles_select_options' for #<#:0x007fbe294a9f18>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb___3235481225307420592_70227384943360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb___3010174956011398853_70227390156400' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__2216063860385394314_70227353560360' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__2216063860385394314_70227353560360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___1191098267871581026_70227356982780' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.2ms) Started GET "/users/new" for ::1 at 2015-03-05 10:55:43 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (24.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (29.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (45.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (66.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (67.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 13:55:43.677245' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 121ms (Views: 70.1ms | ActiveRecord: 29.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 10:55:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 10:55:43 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 10:55:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 10:55:43 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-05 10:55:49 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (14.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (16.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 13:55:49.095565' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 70.9ms | ActiveRecord: 2.9ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 10:55:49 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 10:55:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 10:55:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 10:55:49 -0300 User Load (0.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 Group Load (27.1ms) SELECT "groups".* FROM "groups" Started GET "/users/1/edit" for ::1 at 2015-03-05 16:42:43 -0300 ActiveRecord::SchemaMigration Load (18.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 69ms NoMethodError (undefined method `has_authorization_for_group?' for #): /Users/paulomoura/projetos/curupira/lib/curupira/authorizer.rb:6:in `authorize_for_group' activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (66.5ms) Started GET "/users/1/edit" for ::1 at 2015-03-05 16:42:57 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (18.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (29.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (86.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (219.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (253.4ms) Completed 500 Internal Server Error in 314ms ActionView::Template::Error (undefined local variable or method `active_roles_select_options' for #<#:0x007faf1ef92a70>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__3943738703686399078_70195024867140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__4329641331971343742_70195072127840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__102727162407287050_70195074959560' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__102727162407287050_70195074959560' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3794299039954211499_70195057926040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.1ms) Started GET "/users/" for ::1 at 2015-03-05 16:43:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (22.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:04.004825' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 242ms (Views: 216.0ms | ActiveRecord: 22.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:04 -0300 Started GET "/features" for ::1 at 2015-03-05 16:43:07 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (7.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (8.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:07.508553' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 82ms (Views: 61.7ms | ActiveRecord: 15.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:07 -0300 Started GET "/features/new" for ::1 at 2015-03-05 16:43:08 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (14.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:08.647298' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 81ms (Views: 70.7ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:08 -0300 Started POST "/features" for ::1 at 2015-03-05 16:43:19 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+8qDApauLDt2UVNT2QnUHH+ZbTjf9BKn1VEoE1a/Pw/hov4KxAMSshwEx6S25mHKFIzBakfsTniqU8jSukmbUQ==", "feature"=>{"description"=>"Cadastrar Perfil", "controller"=>"roles", "action"=>"new", "request_method"=>"GET"}, "commit"=>"Create Feature"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (23.4ms) INSERT INTO "features" ("description", "controller", "action", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Cadastrar Perfil"], ["controller", "roles"], ["action", "new"], ["request_method", "GET"], ["created_at", "2015-03-05 19:43:19.665013"], ["updated_at", "2015-03-05 19:43:19.665013"]]  (6.1ms) commit transaction Redirected to http://localhost:3000/features/1 SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:19.697017' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 39ms (ActiveRecord: 31.7ms) Started GET "/features/1" for ::1 at 2015-03-05 16:43:19 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:19.776910' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 69ms (Views: 63.7ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:19 -0300 Started GET "/roles" for ::1 at 2015-03-05 16:43:21 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (20.8ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (23.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (5.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:21.467795' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 46.3ms | ActiveRecord: 26.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:21 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:21 -0300 Started GET "/roles/new" for ::1 at 2015-03-05 16:43:22 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (24.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (54.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:22.437878' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 119ms (Views: 111.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:22 -0300 Started POST "/roles" for ::1 at 2015-03-05 16:43:32 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"9mzde/ueMbytAjLcslhch6MilCvOsnwQCwZpvfeUmdrsBKBzqTMPNcdXpivdt+lRyDc4eVaqIM90BIl8G2I9hA==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"1425584610341"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrista"]] SQL (39.1ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-03-05 19:43:32.461768"], ["updated_at", "2015-03-05 19:43:32.461768"]]  (5.9ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:32.509209' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 56ms (ActiveRecord: 47.2ms) Started GET "/roles/1" for ::1 at 2015-03-05 16:43:32 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (29.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:32.602949' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 84ms (Views: 79.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:32 -0300 Started GET "/groups" for ::1 at 2015-03-05 16:43:35 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:35.210252' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 41.6ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:35 -0300 Started GET "/groups/new" for ::1 at 2015-03-05 16:43:36 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (55.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (77.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:36.481575' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 141ms (Views: 131.7ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:36 -0300 Started POST "/groups" for ::1 at 2015-03-05 16:43:42 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"+g6bsCnIVH5EDsHSli/yad6lzl/JkvZabKNrdqMAd7zgZua4e2Vq9y5bVSX5wEe/tbBiDVGKqoUToYu3T/bT4g==", "group"=>{"name"=>"Meu Grupo", "active"=>"1", "role_groups_attributes"=>{"1425584621053"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Meu Grupo"], ["active", "t"], ["created_at", "2015-03-05 19:43:42.981927"], ["updated_at", "2015-03-05 19:43:42.981927"]] SQL (29.8ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 1], ["created_at", "2015-03-05 19:43:42.983952"], ["updated_at", "2015-03-05 19:43:42.983952"]]  (4.7ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:43.020877' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 46ms (ActiveRecord: 36.9ms) Started GET "/groups/1" for ::1 at 2015-03-05 16:43:43 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:43.077199' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 42.4ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:43 -0300 Started GET "/users" for ::1 at 2015-03-05 16:43:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:43:55.373902' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.1ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:43:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:43:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:43:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:43:55 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-05 16:43:57 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (26.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (30.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (37.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (39.6ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (undefined local variable or method `active_roles_select_options' for #<#:0x007faf1f1a3d78>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb__3943738703686399078_70195024867140' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__4329641331971343742_70195072127840' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__102727162407287050_70195074959560' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__102727162407287050_70195074959560' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb__3794299039954211499_70195057926040' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (68.0ms) Started GET "/users/1/edit" for ::1 at 2015-03-05 16:44:05 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (29.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (46.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (48.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:44:05.950274' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 97ms (Views: 72.1ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:44:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:44:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:44:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:44:05 -0300 Started PATCH "/users/1" for ::1 at 2015-03-05 16:44:33 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"WnRvWJO3RzmMF7mfSqdj33EKr2JFqxWKnLbyutLSzZBAHBJQwRp5sOZCLWglSNYJGh8DMN2zSVXjtBJ7PiRpzg==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1425584648821"=>{"group_id"=>"1", "permissions_attributes"=>{"1425584651170"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.2ms) begin transaction SQL (0.5ms) UPDATE "users" SET "username" = ?, "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["username", "paulociecomp@gmail.com"], ["salt", "1v182Hu5qGJTjaurmpTz"], ["crypted_password", "$2a$10$JTAbLInwVI.TJMiX/lwJj.Gw5iwvmTftGcpYUpu4znpjhpQb1o1iC"], ["updated_at", "2015-03-05 19:44:34.009606"], ["id", 1]] SQL (0.2ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 1], ["created_at", "2015-03-05 19:44:34.012293"], ["updated_at", "2015-03-05 19:44:34.012293"]] SQL (0.2ms) INSERT INTO "permissions" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 1], ["created_at", "2015-03-05 19:44:34.014032"], ["updated_at", "2015-03-05 19:44:34.014032"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:44:34.018997' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 169ms (ActiveRecord: 4.7ms) Started GET "/users/1" for ::1 at 2015-03-05 16:44:34 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (6.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-05 19:44:34.090111' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 63ms (Views: 57.4ms | ActiveRecord: 2.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-05 16:44:34 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-05 16:44:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-05 16:44:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-05 16:44:34 -0300 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "features"."id" = 1 User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'roles' AND "features"."action" = 'new' AND "features"."id" = 1 Started GET "/" for ::1 at 2015-03-08 23:32:51 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 253ms (Views: 253.1ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:32:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:32:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:32:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:32:52 -0300 Started GET "/session/new" for ::1 at 2015-03-08 23:32:55 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (72.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 198ms (Views: 123.4ms | ActiveRecord: 0.5ms) Started POST "/session" for ::1 at 2015-03-08 23:32:57 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"fCas7hIr7/IYOT8wDP3F1FQum2qTj/UWR+2cD8nhI1T2Iy9uSpMF1FVK0vGMVvfPNrCxWny7eFOiSLdQOYjGqg==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (25.6ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (1.9ms) UPDATE "users" SET "last_login_at" = '2015-03-09 02:32:57.413710' WHERE "users"."id" = ? [["id", 1]] SQL (2.8ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:32:57.445005' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 238ms (ActiveRecord: 32.2ms) Started GET "/" for ::1 at 2015-03-08 23:32:57 -0300 Processing by HomeController#index as HTML Rendered home/index.html.erb within layouts/application (0.1ms) User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (5.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:32:57.488213' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.0ms | ActiveRecord: 3.2ms) Started GET "/users" for ::1 at 2015-03-08 23:33:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:33:00.587160' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 64ms (Views: 57.0ms | ActiveRecord: 2.8ms) Started GET "/users" for ::1 at 2015-03-08 23:38:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (12.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:38:17.228737' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 30.9ms | ActiveRecord: 12.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:38:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:38:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:38:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:38:17 -0300 Started GET "/users" for ::1 at 2015-03-08 23:38:58 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (54.9ms) Completed 500 Internal Server Error in 62ms ActionView::Template::Error (undefined method `has_authorization?' for #<#:0x007fcfe58c2e38>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <% if has_authorization? %> 25: <%= link_to "Editar", edit_user_path(user) %> 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265443059540' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265443059540' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.2ms) Started GET "/users" for ::1 at 2015-03-08 23:46:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (21.7ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `has_authorization?' for #<#:0x007fcfe5b0a1c8>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <% if has_authorization? %> 25: <%= link_to "Editar", edit_user_path(user) %> 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265452525360' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265452525360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.3ms) Started GET "/users" for ::1 at 2015-03-08 23:46:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.7ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined method `has_authorization?' for #<#:0x007fcfe69f3d88>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <% if has_authorization? %> 25: <%= link_to "Editar", edit_user_path(user) %> 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265452525360' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3894143095160030347_70265452525360' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.0ms) Started GET "/users" for ::1 at 2015-03-08 23:46:48 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (101.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (4.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:46:49.225790' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 210ms (Views: 152.7ms | ActiveRecord: 6.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:46:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:46:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:46:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:46:49 -0300 Started GET "/users" for ::1 at 2015-03-08 23:46:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:46:50.322291' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 29.9ms | ActiveRecord: 4.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:46:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:46:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:46:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:46:50 -0300 Started GET "/users" for ::1 at 2015-03-08 23:47:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (4.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:47:36.134636' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 33.6ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/users" for ::1 at 2015-03-08 23:47:36 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:47:36.847390' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 31.8ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:47:36 -0300 Started GET "/users" for ::1 at 2015-03-08 23:47:37 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:47:37.259847' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 33.4ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:47:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:47:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:47:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:47:37 -0300 Started GET "/users" for ::1 at 2015-03-08 23:51:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 02:51:33.997427' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.2ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-08 23:51:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-08 23:51:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-08 23:51:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-08 23:51:34 -0300 Started GET "/users" for ::1 at 2015-03-09 00:00:10 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:00:10.840320' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 102ms (Views: 52.9ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:00:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:00:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:00:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:00:10 -0300 Started GET "/users" for ::1 at 2015-03-09 00:00:11 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:00:11.617325' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:00:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:00:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:00:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:00:11 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-09 00:00:13 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (12.9ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (114.7ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (33.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (294.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (303.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:00:13.523134' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 365ms (Views: 355.9ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:00:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:00:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:00:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:00:13 -0300 Started GET "/users" for ::1 at 2015-03-09 00:01:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:01:05.591635' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 60ms (Views: 30.8ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:01:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:01:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:01:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:01:05 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-09 00:01:07 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.3ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (10.8ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (46.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (5.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (85.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (87.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:01:07.826139' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 126ms (Views: 116.5ms | ActiveRecord: 5.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:01:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:01:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:01:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:01:07 -0300 Started GET "/users" for ::1 at 2015-03-09 00:01:09 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:01:09.511658' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:01:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:01:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:01:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:01:09 -0300 Started GET "/users" for ::1 at 2015-03-09 00:02:15 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (35.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:02:15.972125' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 93ms (Views: 64.9ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:02:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:02:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:02:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:02:16 -0300 Started GET "/users" for ::1 at 2015-03-09 00:02:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (30.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:00.030841' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 90ms (Views: 59.9ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:00.934395' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.4ms | ActiveRecord: 2.6ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:00 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:02.674767' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 48.9ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:02 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:02 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:06 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:06.886783' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.3ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:06 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:07 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:07.709594' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.0ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:07 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (37.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:17.070695' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 26.8ms | ActiveRecord: 38.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/users" for ::1 at 2015-03-09 00:03:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (24.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:03:17.782412' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 28.8ms | ActiveRecord: 25.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:03:17 -0300 Started GET "/users" for ::1 at 2015-03-09 00:05:10 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (45068.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:05:55.250658' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45122ms (Views: 45101.0ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:05:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:05:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:05:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:05:55 -0300 Started GET "/users" for ::1 at 2015-03-09 00:08:33 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (144470.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:10:58.146834' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 144530ms (Views: 144506.2ms | ActiveRecord: 5.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:10:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:10:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:10:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:10:58 -0300 Started GET "/users" for ::1 at 2015-03-09 00:11:30 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (26.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:11:31.027568' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 83ms (Views: 56.1ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:11:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:11:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:11:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:11:31 -0300 Started GET "/users" for ::1 at 2015-03-09 00:11:46 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (24.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:11:47.136788' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 79ms (Views: 50.0ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:11:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:11:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:11:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:11:47 -0300 Started GET "/users" for ::1 at 2015-03-09 00:12:08 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (25.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:12:09.063969' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 50.7ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:12:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:12:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:12:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:12:09 -0300 Started GET "/users" for ::1 at 2015-03-09 00:12:25 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:12:25.333235' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 49.9ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:12:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:12:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:12:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:12:25 -0300 Started GET "/users" for ::1 at 2015-03-09 00:13:26 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (27.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:13:26.425573' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 86ms (Views: 58.7ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:13:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:13:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:13:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:13:26 -0300 Started GET "/users" for ::1 at 2015-03-09 00:14:06 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (26.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (6.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:14:07.139496' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 85ms (Views: 56.3ms | ActiveRecord: 9.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:14:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:14:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:14:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:14:07 -0300 Started GET "/users" for ::1 at 2015-03-09 00:14:49 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (20.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:14:49.873945' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 47.7ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:14:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:14:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:14:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:14:49 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:10 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (27.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:10.415171' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 90ms (Views: 56.4ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:10 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:25 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:25.256504' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 78ms (Views: 51.1ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:25 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:34 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:34.382458' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 78ms (Views: 51.2ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:34 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:50.571178' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 38.8ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:50 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:56 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (20.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:56.606010' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 72ms (Views: 45.5ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:56 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:58 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (4.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:15:58.842800' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 30.1ms | ActiveRecord: 5.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:15:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:15:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:15:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:15:58 -0300 Started GET "/users" for ::1 at 2015-03-09 00:15:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:00.033199' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.6ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:00.770184' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.1ms | ActiveRecord: 3.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:00 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:01.360931' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 26.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:01 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:01 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:02.105660' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.4ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:02.527635' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (3.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:02.811029' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 30.3ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:02 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:03.106455' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.2ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:03.384107' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 32.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (8.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:03.725372' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 31.7ms | ActiveRecord: 9.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:03 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:03.989500' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 27.9ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:04.240222' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 32.3ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (9.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:04.568012' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 33.7ms | ActiveRecord: 10.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:04.877854' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 31.4ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:04 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (15.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:05.195823' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 28.6ms | ActiveRecord: 15.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:05.473642' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.5ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (12.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:05.811144' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 29.8ms | ActiveRecord: 12.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:05 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:06 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:06.086100' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 30.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:06 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (10.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:06.413255' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 30.2ms | ActiveRecord: 10.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:06 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:06.676210' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.0ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:06 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:07 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:07.483216' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 30.4ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:07 -0300 Started GET "/users" for ::1 at 2015-03-09 00:16:15 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 03:16:15.423813' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 73ms (Views: 48.3ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 00:16:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 00:16:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 00:16:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 00:16:15 -0300 Started GET "/users" for ::1 at 2015-03-09 01:24:21 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (22.3ms) Completed 500 Internal Server Error in 54ms ActionView::Template::Error (undefined local variable or method `binging' for #<#:0x007fdd97077200>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <% binging.pry; %> 25: <%= link_to_authorize "Editar", edit_user_path(user) %> 26: 27: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294849167980' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294849167980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.4ms) Started GET "/users" for ::1 at 2015-03-09 01:24:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (811088.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:37:59.742645' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 811122ms (Views: 811137.3ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:37:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:37:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:37:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:37:59 -0300 Started GET "/users" for ::1 at 2015-03-09 01:38:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (144205.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:40:25.867176' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 144270ms (Views: 144239.7ms | ActiveRecord: 6.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:40:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:40:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:40:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:40:25 -0300 Started GET "/users" for ::1 at 2015-03-09 01:40:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" User Load (1.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (66.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:47:09.169315' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 378061ms (Views: 147.9ms | ActiveRecord: 7.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:47:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:47:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:47:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:47:09 -0300 Started GET "/users" for ::1 at 2015-03-09 01:47:23 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (184599.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:50:28.245164' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 184736ms (Views: 184681.5ms | ActiveRecord: 8.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:50:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:50:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:50:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:50:28 -0300 Started GET "/users" for ::1 at 2015-03-09 01:50:29 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (62.0ms) Completed 500 Internal Server Error in 161ms ActionView::Template::Error (undefined method `has_authorization_for' for #<#:0x007fdd927e43f8>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <%= link_to_authorize "Editar", edit_user_path(user) %> 25: 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/helpers/curupira/authorize_helper.rb:12:in `link_to_authorize' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (149.9ms) Started GET "/users" for ::1 at 2015-03-09 01:51:09 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (60.9ms) Completed 500 Internal Server Error in 85ms ActionView::Template::Error (undefined method `has_authorization_for' for #<#:0x007fdd97905818>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <%= link_to_authorize "Editar", edit_user_path(user) %> 25: 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/helpers/curupira/authorize_helper.rb:12:in `link_to_authorize' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (8.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (154.9ms) Started GET "/users" for ::1 at 2015-03-09 01:51:12 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (53.5ms) Completed 500 Internal Server Error in 78ms ActionView::Template::Error (undefined method `has_authorization_for' for #<#:0x007fdd92a14830>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <%= link_to_authorize "Editar", edit_user_path(user) %> 25: 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/helpers/curupira/authorize_helper.rb:12:in `link_to_authorize' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (24.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (11.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (149.3ms) Started GET "/users" for ::1 at 2015-03-09 01:51:14 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (60.7ms) Completed 500 Internal Server Error in 80ms ActionView::Template::Error (undefined method `has_authorization_for' for #<#:0x007fdd95b33420>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <%= link_to_authorize "Editar", edit_user_path(user) %> 25: 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/helpers/curupira/authorize_helper.rb:12:in `link_to_authorize' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (20.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (10.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (138.6ms) Started GET "/users" for ::1 at 2015-03-09 01:51:31 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (49.8ms) Completed 500 Internal Server Error in 125ms ActionView::Template::Error (undefined method `has_authorization_for' for #<#:0x007fdd95b20460>): 21: <%= link_to user.email, user %> 22: <%= link_to user.username, user %> 23: <%= user.active %> 24: <%= link_to_authorize "Editar", edit_user_path(user) %> 25: 26: <% end %> 27: /Users/paulomoura/projetos/curupira/app/helpers/curupira/authorize_helper.rb:12:in `link_to_authorize' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:24:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb__1829764599955138961_70294810069380' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (20.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (140.4ms) Started GET "/users" for ::1 at 2015-03-09 01:51:44 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (116.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (4.9ms) SQL (3.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:51:44.630252' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 380ms (Views: 254.4ms | ActiveRecord: 7.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:51:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:51:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:51:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:51:44 -0300 Started GET "/users" for ::1 at 2015-03-09 01:52:13 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (1.6ms) SELECT "users".* FROM "users" User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (73.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:52:14.296768' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 225ms (Views: 154.7ms | ActiveRecord: 9.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:52:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:52:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:52:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:52:14 -0300 Started GET "/users" for ::1 at 2015-03-09 01:52:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.6ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:52:28.441697' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 107ms (Views: 97.0ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:52:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:52:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:52:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:52:28 -0300 Started GET "/users" for ::1 at 2015-03-09 01:52:58 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (55.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:52:59.082784' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 191ms (Views: 133.2ms | ActiveRecord: 7.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:52:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:52:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:52:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:52:59 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (1.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (9.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (61.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:03.378044' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 167ms (Views: 97.9ms | ActiveRecord: 63.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:03 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.6ms) SQL (68.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:04.426257' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 179ms (Views: 103.1ms | ActiveRecord: 70.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:04 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:04 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:19 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (9.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:19.173202' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 110ms (Views: 101.4ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:19 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (1.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.8ms) SQL (13.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:20.449779' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 130ms (Views: 107.4ms | ActiveRecord: 15.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:20 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.8ms) SELECT "users".* FROM "users" User Load (1.0ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (13.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (3.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:20.871593' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 139ms (Views: 127.0ms | ActiveRecord: 5.8ms) Started GET "/users" for ::1 at 2015-03-09 01:53:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (10.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (3.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:20.992653' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 92.2ms | ActiveRecord: 5.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:21 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (10.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:28.313542' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 96.1ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:28 -0300 Started GET "/users" for ::1 at 2015-03-09 01:53:45 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (1.0ms) SELECT "users".* FROM "users" User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (119.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (2.1ms) SQL (3.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:53:45.672385' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 384ms (Views: 256.5ms | ActiveRecord: 7.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 01:53:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 01:53:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 01:53:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 01:53:45 -0300 Started GET "/users" for ::1 at 2015-03-09 01:54:06 -0300 ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (1.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (291812.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.8ms) SQL (15.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 04:58:59.354991' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 292401ms (Views: 160093.1ms | ActiveRecord: 71.3ms) Started GET "/users" for ::1 at 2015-03-09 02:02:11 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (18092.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (5.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:02:29.242601' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 18196ms (Views: 18163.4ms | ActiveRecord: 6.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:02:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:02:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:02:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:02:29 -0300 Started GET "/users" for ::1 at 2015-03-09 02:03:04 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (7023.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:03:11.792085' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 7288ms (Views: 7133.2ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:03:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:03:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:03:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:03:11 -0300 Started GET "/users" for ::1 at 2015-03-09 02:03:40 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (86420.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:05:07.049896' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 86535ms (Views: 86487.2ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:05:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:05:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:05:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:05:07 -0300 Started GET "/users" for ::1 at 2015-03-09 02:05:15 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4767.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:05:20.685259' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 4877ms (Views: 4825.3ms | ActiveRecord: 5.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:05:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:05:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:05:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:05:20 -0300 Started GET "/users" for ::1 at 2015-03-09 02:07:01 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (48.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (20.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:07:01.670470' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 180ms (Views: 106.4ms | ActiveRecord: 22.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:07:01 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:07:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:07:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:07:01 -0300 Started GET "/users" for ::1 at 2015-03-09 02:07:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:07:03.128865' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.8ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/users" for ::1 at 2015-03-09 02:07:03 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (3.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:07:03.828669' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 36.6ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:07:03 -0300 Started GET "/users" for ::1 at 2015-03-09 02:07:25 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (49.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (338.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:07:25.991665' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 490ms (Views: 104.2ms | ActiveRecord: 340.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:07:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:07:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:07:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:07:26 -0300 Started GET "/users" for ::1 at 2015-03-09 02:07:46 -0300 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (56923.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:08:43.898664' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57034ms (Views: 56984.2ms | ActiveRecord: 4.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:08:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:08:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:08:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:08:44 -0300 Started GET "/features" for ::1 at 2015-03-09 02:13:16 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::FeaturesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (7.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:13:16.228115' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 108ms (Views: 55.2ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:13:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:13:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:13:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:13:16 -0300 Started GET "/features/new" for ::1 at 2015-03-09 02:13:26 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (137.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:13:26.296769' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 202ms (Views: 196.2ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:13:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:13:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:13:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:13:26 -0300 Started POST "/features" for ::1 at 2015-03-09 02:13:54 -0300 Processing by Curupira::FeaturesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HDJuSmL+ZpRPbxFhZBHekaNZxgk0+XaVV8g2ADoYvkKWN+3KOkaMsgIc/KDkuuyKwcfsOdvN+9CybR1fynFbvA==", "feature"=>{"description"=>"Editar usuário", "controller"=>"users", "action"=>"edit", "request_method"=>"get"}, "commit"=>"Create Feature"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("description", "controller", "action", "request_method", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Editar usuário"], ["controller", "users"], ["action", "edit"], ["request_method", "get"], ["created_at", "2015-03-09 05:13:54.534134"], ["updated_at", "2015-03-09 05:13:54.534134"]]  (1.6ms) commit transaction Redirected to http://localhost:3000/features/2 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:13:54.540616' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 13ms (ActiveRecord: 4.1ms) Started GET "/features/2" for ::1 at 2015-03-09 02:13:54 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:13:54.620818' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 66ms (Views: 60.9ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:13:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:13:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:13:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:13:54 -0300 Started GET "/roles" for ::1 at 2015-03-09 02:13:57 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (5.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:13:57.966296' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 46.7ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:13:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:13:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:13:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:13:58 -0300 Started GET "/roles/1/edit" for ::1 at 2015-03-09 02:14:00 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (26.8ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (88.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (109.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:00.816685' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 173ms (Views: 165.9ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:00 -0300 Started PATCH "/roles/1" for ::1 at 2015-03-09 02:14:08 -0300 Processing by Curupira::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ApXsUiiHDG7QGGJYE470j1sZlhmR1Rn66Z9uKmOskVSIkG/ScD/mSJ1rj5mTJcaUOYe8KX7hlL8MOkV1k8V0qg==", "role"=>{"name"=>"Cadastrista", "authorizations_attributes"=>{"0"=>{"feature_id"=>"2", "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update Role", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Authorization Load (0.3ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? AND "authorizations"."id" = 1 [["role_id", 1]] SQL (0.4ms) UPDATE "authorizations" SET "feature_id" = ?, "updated_at" = ? WHERE "authorizations"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-09 05:14:08.422451"], ["id", 1]]  (3.4ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:08.429283' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 17ms (ActiveRecord: 5.7ms) Started GET "/roles/1" for ::1 at 2015-03-09 02:14:08 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (28.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:08.535564' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 91ms (Views: 85.7ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:08 -0300 Started GET "/groups" for ::1 at 2015-03-09 02:14:11 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:11.923129' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 91ms (Views: 62.6ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:12 -0300 Started GET "/groups/1" for ::1 at 2015-03-09 02:14:13 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (22.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:14.044325' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 71.0ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:14 -0300 Started GET "/users" for ::1 at 2015-03-09 02:14:17 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (28.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:17.510090' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 64ms (Views: 57.7ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:17 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-09 02:14:25 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.5ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (6.6ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (50.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (21.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (121.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (133.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:25.851419' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 207ms (Views: 198.3ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:25 -0300 Started PATCH "/users/1" for ::1 at 2015-03-09 02:14:49 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"0P+v6FLaVMAY7IyGf5ImXR/6vUIcpPf/HJfeyRLZB6da+ixoCmK+5lWfYUf/ORRGfWSXcvOQerr5MvWW4rDiWQ==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"0"=>{"group_id"=>"1", "permissions_attributes"=>{"0"=>{"role_id"=>"1", "_destroy"=>"false", "id"=>"1"}}, "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update User", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = 1 [["user_id", 1]] Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? AND "permissions"."id" = 1 [["group_user_id", 1]] SQL (0.6ms) UPDATE "users" SET "salt" = ?, "crypted_password" = ?, "updated_at" = ? WHERE "users"."id" = ? [["salt", "arE3EsDfAeqXSYQcWu9K"], ["crypted_password", "$2a$10$uP9oTJC7QkLkyue24tbUkece0.D8V1T33be/RbGCnrMG6D4neoXEy"], ["updated_at", "2015-03-09 05:14:49.571592"], ["id", 1]]  (1.0ms) commit transaction Redirected to http://localhost:3000/users/1 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:49.577026' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 168ms (ActiveRecord: 3.9ms) Started GET "/users/1" for ::1 at 2015-03-09 02:14:49 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:49.655248' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 60.1ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:49 -0300 Started GET "/users" for ::1 at 2015-03-09 02:14:53 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:14:53.948955' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.4ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:14:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:14:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:14:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:14:54 -0300 Started GET "/users" for ::1 at 2015-03-09 02:15:21 -0300 ActiveRecord::SchemaMigration Load (4.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'index' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (23075.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:15:45.119612' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 23193ms (Views: 23141.8ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:15:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:15:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:15:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:15:45 -0300 Started GET "/users" for ::1 at 2015-03-09 02:16:19 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (6110.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:16:25.759886' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 6229ms (Views: 6172.3ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:16:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:16:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:16:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:16:25 -0300 Started GET "/users" for ::1 at 2015-03-09 02:16:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'users' User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'users' AND "features"."action" = 'edit' User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'users' AND "features"."action" = 'edit' AND "users"."id" = 1 User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (123444.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:31.813858' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 123479ms (Views: 123475.8ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:18:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:18:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:18:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:18:31 -0300 Started GET "/roles" for ::1 at 2015-03-09 02:18:39 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:39.751784' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 37.2ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:18:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:18:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:18:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:18:39 -0300 Started GET "/features" for ::1 at 2015-03-09 02:18:40 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (53.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:40.659929' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 48.2ms | ActiveRecord: 53.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:18:40 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:18:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:18:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:18:40 -0300 Started GET "/features/2/edit" for ::1 at 2015-03-09 02:18:45 -0300 Processing by Curupira::FeaturesController#edit as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.5ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/edit.html.erb within layouts/application (26.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:45.238307' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 71ms (Views: 64.0ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:18:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:18:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:18:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:18:45 -0300 Started PATCH "/features/2" for ::1 at 2015-03-09 02:18:51 -0300 Processing by Curupira::FeaturesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8izYPwnw/dHGcLK/yLCvMpLBHH3nbxjFbJlG1C6ygKB4KVu/UUgX94sDX35IG50p8F82TQhblYCJPG2L3ttlXg==", "feature"=>{"description"=>"Editar usuário", "controller"=>"curupira/users", "action"=>"edit", "request_method"=>"get", "active"=>"1"}, "commit"=>"Update Feature", "id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] Unpermitted parameter: active  (0.2ms) begin transaction SQL (0.4ms) UPDATE "features" SET "controller" = ?, "updated_at" = ? WHERE "features"."id" = ? [["controller", "curupira/users"], ["updated_at", "2015-03-09 05:18:51.954132"], ["id", 2]]  (0.9ms) commit transaction Redirected to http://localhost:3000/features/2 SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:51.959474' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 14ms (ActiveRecord: 4.3ms) Started GET "/features/2" for ::1 at 2015-03-09 02:18:51 -0300 Processing by Curupira::FeaturesController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/show.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:18:52.018825' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 29.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:18:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:18:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:18:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:18:52 -0300 Started GET "/users" for ::1 at 2015-03-09 02:18:53 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'curupira/users' AND "features"."action" = 'edit' AND "users"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (6279.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (29.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:19:00.306269' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 6345ms (Views: 6312.2ms | ActiveRecord: 30.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:19:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:19:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:19:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:19:00 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-09 02:36:09 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (11.3ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (40.0ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (8.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (96.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (102.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:36:10.178596' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 199ms (Views: 147.2ms | ActiveRecord: 5.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:36:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:36:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:36:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:36:10 -0300 Started GET "/users/1/edit" for ::1 at 2015-03-09 02:43:41 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Permission Load (0.2ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (9.3ms) CACHE (0.1ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (37.0ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (90.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (96.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:43:41.505344' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 189ms (Views: 141.4ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:43:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:43:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:43:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:43:41 -0300 Started GET "/" for ::1 at 2015-03-09 02:43:45 -0300 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (39.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 05:43:45.306871' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 74ms (Views: 69.0ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 02:43:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 02:43:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 02:43:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 02:43:45 -0300 Started GET "/" for ::1 at 2015-03-09 03:13:04 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (103.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-09 06:13:04.302294' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 162ms (Views: 155.9ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-09 03:13:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-09 03:13:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-09 03:13:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-09 03:13:04 -0300 Started GET "/" for ::1 at 2015-03-10 18:14:30 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (91.1ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305011941)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "permissions" already exists: CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) rollback transaction  (127.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (122.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305011941)  (0.1ms) begin transaction  (53.1ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (42.1ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.2ms) begin transaction  (17.6ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (17.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (82.7ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (90.8ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (9.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (39.2ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (27.0ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (18.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (28.8ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (70.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (81.7ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (18.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (163.0ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (52.6ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.4ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.3ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (26.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (30.4ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (27.0ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (58.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (77.1ms) commit transaction Migrating to CreateFeatures (20150305021421)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305021421_create_features.rb:10)  (94.0ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (12.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021421"]]  (104.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  Started GET "/" for ::1 at 2015-03-10 18:15:13 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (308.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 1629ms (Views: 1627.1ms | ActiveRecord: 1.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:15:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:15:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:15:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:15:15 -0300 Started GET "/session/new" for ::1 at 2015-03-10 18:15:18 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (110.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 199ms (Views: 183.5ms | ActiveRecord: 0.0ms) Started POST "/session" for ::1 at 2015-03-10 18:15:19 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y+waueVhbwNRD5wV/mgESdhq2g/2Mg4KIFEd4QlUSEaiC3tc9L1ydyzi4EHDeN0lw0ZT/Tnl590Y/aZEb3i7eQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 37ms (Views: 29.3ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (12.1ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "qZzPg6MgsosSq7sfWEqJ"], ["crypted_password", "$2a$10$xtKFlWaxA3YdH8Yf4eFUq.5aWuHEl8GxZg0etY/XOwKdDZGFg9rqm"], ["created_at", "2015-03-10 21:16:06.298173"], ["updated_at", "2015-03-10 21:16:06.298173"]]  (24.6ms) commit transaction Started POST "/session" for ::1 at 2015-03-10 18:16:15 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y+waueVhbwNRD5wV/mgESdhq2g/2Mg4KIFEd4QlUSEaiC3tc9L1ydyzi4EHDeN0lw0ZT/Tnl590Y/aZEb3i7eQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.1ms) UPDATE "users" SET "last_login_at" = '2015-03-10 21:16:15.690211' WHERE "users"."id" = ? [["id", 1]] SQL (22.1ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (3.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-10 21:16:15.721454' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 232ms (ActiveRecord: 28.5ms) Started GET "/" for ::1 at 2015-03-10 18:16:15 -0300 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (53.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (2.0ms) SQL (4.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-10 21:16:15.847723' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 112ms (Views: 104.7ms | ActiveRecord: 5.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:16:15 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:16:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:16:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:16:15 -0300  (20.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePermissions (20150305011941)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_permissions_on_role_id" ON "permissions" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_permissions_on_group_user_id" ON "permissions" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.3ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.4ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (1.6ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (1.1ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (1.4ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (1.6ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.2ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (1.8ms) commit transaction Migrating to CreateFeatures (20150305021421)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305021421_create_features.rb:10)  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" varchar, "controller" varchar, "action" varchar, "request_method" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305021421"]]  (1.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) begin transaction SQL (1.3ms) INSERT INTO "users" ("email", "name", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "eu"], ["salt", "QfVX2EyjpdNqtpCm3qMQ"], ["crypted_password", "$2a$10$ASYOAAh1kPrC4rwl1UaO/OyZikGUK1MyvYz/sPddEZWxobP0/NcdW"], ["created_at", "2015-03-10 21:17:50.353911"], ["updated_at", "2015-03-10 21:17:50.353911"]]  (2.2ms) commit transaction Started GET "/" for ::1 at 2015-03-10 18:17:59 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (82.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-10 21:18:00.247593' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 200ms (Views: 193.6ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:18:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:18:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:18:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:18:00 -0300 Started GET "/session" for ::1 at 2015-03-10 18:18:01 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (23.6ms) UPDATE "users" SET "last_logout_at" = '2015-03-10 21:18:01.834990' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 28ms (ActiveRecord: 23.8ms) Started GET "/session/new" for ::1 at 2015-03-10 18:18:01 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (14.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 44ms (Views: 43.1ms | ActiveRecord: 0.0ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:18:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:18:01 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:18:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:18:01 -0300 Started GET "/session/new" for ::1 at 2015-03-10 18:18:02 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:18:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:18:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:18:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:18:02 -0300 Started GET "/session/new" for ::1 at 2015-03-10 18:18:03 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:18:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:18:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:18:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:18:03 -0300 Started POST "/session" for ::1 at 2015-03-10 18:18:04 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q0YhtcDGQxHGIYvUeSIMCt78Pi6mXTTasLf96aBYYUanMvWwtDhZEL9DNe2dTyqEEPlLF0OTk5zxAzE8ZoNHZw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.6ms) UPDATE "users" SET "last_login_at" = '2015-03-10 21:18:04.575070' WHERE "users"."id" = ? [["id", 1]] SQL (1.6ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-10 21:18:04.582257' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 161ms (ActiveRecord: 6.1ms) Started GET "/" for ::1 at 2015-03-10 18:18:04 -0300 Processing by HomeController#index as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-10 21:18:04.622197' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 26.7ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-10 18:18:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-10 18:18:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-10 18:18:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-10 18:18:04 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_permissions_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_group_user_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_permissions_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_permissions_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index' Started GET "/" for 127.0.0.1 at 2015-03-11 22:49:19 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (9.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (252.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 537ms (Views: 526.1ms | ActiveRecord: 10.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-11 22:49:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-11 22:49:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-11 22:49:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-11 22:49:19 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-03-11 22:49:21 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (49.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 109ms (Views: 97.2ms | ActiveRecord: 0.0ms) Started POST "/session" for 127.0.0.1 at 2015-03-11 22:49:23 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"KEyfph9p6Uq0IdKvyDmvxJqKkzkJb7fysdfGP26k9qGXKUHGCDnurqI5Cb5UcLyzjaKQW5BCK3oZMpldrYwLAA==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (24.8ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.2ms) UPDATE "users" SET "last_login_at" = '2015-03-12 01:49:24.184999' WHERE "users"."id" = ? [["id", 1]] SQL (2.1ms) UPDATE "users" SET "last_login_from_ip_address" = '127.0.0.1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:24.193024' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 260ms (ActiveRecord: 31.1ms) Started GET "/" for 127.0.0.1 at 2015-03-11 22:49:24 -0300 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "permissions" ON "permissions"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "permissions"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" WHERE "features"."controller" = 'home' AND "features"."action" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (6.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:24.246120' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 36.6ms | ActiveRecord: 3.1ms) Started GET "/users" for 127.0.0.1 at 2015-03-11 22:49:28 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (4.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:28.493914' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 49.5ms | ActiveRecord: 4.7ms) Started GET "/users/1/edit" for 127.0.0.1 at 2015-03-11 22:49:30 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (9.7ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.6ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (127.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (283.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (292.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:30.921197' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 395ms (Views: 375.1ms | ActiveRecord: 14.5ms) Started GET "/roles" for 127.0.0.1 at 2015-03-11 22:49:44 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:44.213751' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 51.8ms | ActiveRecord: 2.8ms) Started GET "/roles/new" for 127.0.0.1 at 2015-03-11 22:49:45 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (23.4ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (26.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (48.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (69.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (7.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:45.642866' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 134ms (Views: 96.9ms | ActiveRecord: 31.6ms) Started GET "/features" for 127.0.0.1 at 2015-03-11 22:49:50 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.5ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 01:49:50.733597' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 59.6ms | ActiveRecord: 2.5ms) Started GET "/groups" for 127.0.0.1 at 2015-03-11 23:21:36 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 02:21:36.950360' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 48.1ms | ActiveRecord: 2.6ms) Started GET "/groups/new" for 127.0.0.1 at 2015-03-11 23:21:39 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (44.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (85.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (104.9ms) Completed 500 Internal Server Error in 152ms ActionView::Template::Error (undefined local variable or method `active_role_select_options' for #<#:0x007fb7d760b468>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb___1002554764302304402_70213794339200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:20:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1812628340277700349_70213748591980' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1812628340277700349_70213748591980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___742614055269580522_70213784584200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.9ms) Started GET "/groups/new" for 127.0.0.1 at 2015-03-11 23:22:18 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (61.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (72.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (74.7ms) Completed 500 Internal Server Error in 149ms ActionView::Template::Error (undefined local variable or method `active_role_select_options' for #<#:0x007fb7d88c53b0>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_role_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__role_group_fields_html_erb___1002554764302304402_70213794339200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:20:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1812628340277700349_70213748591980' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups__form_html_erb___1812628340277700349_70213748591980' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_groups_new_html_erb___742614055269580522_70213784584200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (18.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (78.5ms) Started GET "/groups/new" for 127.0.0.1 at 2015-03-11 23:22:37 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (12.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (28.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (32.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 02:22:37.896581' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 204ms (Views: 77.2ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-11 23:22:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-11 23:22:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-11 23:22:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-11 23:22:38 -0300 Started GET "/groups/new" for 127.0.0.1 at 2015-03-12 11:16:36 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (73.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (333.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (361.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:16:37.410410' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 768ms (Views: 587.0ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:16:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:37 -0300 Started GET "/users" for 127.0.0.1 at 2015-03-12 11:16:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:16:40.360511' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 52.2ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:16:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:16:40 -0300 Started GET "/users/1/edit" for 127.0.0.1 at 2015-03-12 11:16:42 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (52.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (131.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (187.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (196.5ms) Completed 500 Internal Server Error in 222ms ActionView::Template::Error (undefined local variable or method `active_roles_select_options' for #<#:0x007ffe7cff23c8>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb___497590763034673878_70365524761640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb___760479765341825964_70365524247060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___2042568502284338892_70365523577060' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___2042568502284338892_70365523577060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_edit_html_erb___246219553115953634_70365523517300' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (16.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (73.3ms) Started GET "/users/new" for 127.0.0.1 at 2015-03-12 11:16:50 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (38.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (44.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (52.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (54.5ms) Completed 500 Internal Server Error in 125ms ActionView::Template::Error (undefined local variable or method `active_roles_select_options' for #<#:0x007ffe8243a4a8>): 1:
2: <% if f.object.role.blank? || f.object.role.active? %> 3: <%= f.select :role_id, active_roles_select_options %> 4: <% else %> 5: <%= f.object.role.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__permission_fields_html_erb___497590763034673878_70365524761640' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:15:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb___760479765341825964_70365524247060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___2042568502284338892_70365523577060' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb___2042568502284338892_70365523577060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___3100286226930878724_70365541942280' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.4ms) Started GET "/users/new" for 127.0.0.1 at 2015-03-12 11:17:05 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_permission_fields.html.erb (11.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (29.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (44.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (45.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (14.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:17:05.452878' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 114ms (Views: 73.4ms | ActiveRecord: 17.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:17:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:17:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:17:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:17:05 -0300 Started GET "/roles" for 127.0.0.1 at 2015-03-12 11:18:36 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:18:36.430242' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 44.3ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:18:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:36 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:36 -0300 Started GET "/roles/new" for 127.0.0.1 at 2015-03-12 11:18:37 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (23.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (79.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (99.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:18:37.636567' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 198ms (Views: 190.7ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:18:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:37 -0300 Started GET "/features" for 127.0.0.1 at 2015-03-12 11:18:46 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:18:46.286338' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 71ms (Views: 59.8ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:18:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:46 -0300 Started GET "/features/new" for 127.0.0.1 at 2015-03-12 11:18:47 -0300 Processing by Curupira::FeaturesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/new.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-12 14:18:48.050713' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 99ms (Views: 89.3ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-12 11:18:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-12 11:18:48 -0300  (1.6ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.7ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.5ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (3.4ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (5.0ms) CREATE TABLE "feature_action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "action_label_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (4.3ms) CREATE TABLE "feature_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "service_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.8ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (1.6ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (1.6ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.7ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.4ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'   (1.8ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (1.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (1.5ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (1.7ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')   (1.4ms) CREATE TABLE "services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (3.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)   (2.7ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (2.8ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (3.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312183617')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181158')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312183248')  (1.9ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (5.0ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) select sqlite_version(*)  (2.8ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (2.5ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (2.4ms) CREATE TABLE "feature_action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "action_label_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.5ms) CREATE TABLE "feature_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "service_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.9ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.9ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (1.7ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (1.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.2ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.6ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.4ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'   (1.8ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (2.3ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.8ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (4.5ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (1.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')   (1.2ms) CREATE TABLE "services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)   (3.9ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (4.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.6ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.9ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312183617')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181158')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229')  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312183248') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.6ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.2ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.8ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (2.0ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (1.9ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (1.8ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (1.8ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (1.9ms) commit transaction Migrating to CreateServices (20150312181158)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181158"]]  (1.6ms) commit transaction Migrating to CreateActionLabels (20150312181229)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181229"]]  (2.2ms) commit transaction Migrating to CreateFeatures (20150312181747)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181747"]]  (1.4ms) commit transaction Migrating to CreateFeatureServices (20150312183248)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "feature_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "service_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312183248"]]  (1.9ms) commit transaction Migrating to CreateFeatureActionLabels (20150312183617)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "feature_action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "action_label_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312183617"]]  (1.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  Started GET "/" for 127.0.0.1 at 2015-03-16 23:53:49 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "feature_services" ON "feature_services"."feature_id" = "features"."id" INNER JOIN "services" ON "services"."id" = "feature_services"."service_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "services"."name" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (155.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 357ms (Views: 353.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-16 23:53:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-16 23:53:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-16 23:53:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-16 23:53:50 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-03-16 23:53:53 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (49.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 95ms (Views: 82.0ms | ActiveRecord: 0.1ms) Started POST "/session" for 127.0.0.1 at 2015-03-16 23:53:54 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"yk65SFOqopGbZMFTA64NoMvvzWOE0CuMWJlXVByDIMx1K2coRPqldY18GkKf5x7X3MfOAR39twTwfAg236vdbQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 37ms (Views: 33.2ms | ActiveRecord: 0.3ms)  (0.1ms) begin transaction SQL (27.5ms) INSERT INTO "users" ("name", "email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "eu"], ["email", "paulociecomp@gmail.com"], ["salt", "kkfdqbfNF4Bqeo5Lqx8X"], ["crypted_password", "$2a$10$u0bDV8ShWr.ORZIH90P43.bvn6s2dHrvGM3cm/eQWlXA1DR13Sqiu"], ["created_at", "2015-03-17 02:54:39.223172"], ["updated_at", "2015-03-17 02:54:39.223172"]]  (9.9ms) commit transaction Started POST "/session" for 127.0.0.1 at 2015-03-16 23:54:46 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qrhr6l7IjhC6PjqVSnId9JAraoChEvl5qa09Ldq5mTsV3bWKSZiJ9Kwm4YTWOw6DhwNp4jg/ZfEBSGJPGZFkmg==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/ Filter chain halted as :redirect_to_root_with_errors rendered or redirected Completed 302 Found in 45ms (ActiveRecord: 1.0ms) Started GET "/" for 127.0.0.1 at 2015-03-16 23:54:46 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "feature_services" ON "feature_services"."feature_id" = "features"."id" INNER JOIN "services" ON "services"."id" = "feature_services"."service_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "services"."name" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (58.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 02:54:46.627393' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 112ms (Views: 106.5ms | ActiveRecord: 3.4ms) Started GET "/users" for 127.0.0.1 at 2015-03-16 23:55:14 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 02:55:14.302337' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.9ms | ActiveRecord: 2.8ms) Started GET "/users" for 127.0.0.1 at 2015-03-16 23:55:30 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 03:18:00.928685' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 1350396ms (Views: 37.1ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 00:18:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 00:18:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 00:18:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 00:18:01 -0300  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.7ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.6ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (1.7ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (1.8ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (1.7ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (1.5ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (2.5ms) commit transaction Migrating to CreateActionLabels (20150312181229)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181229"]]  (1.4ms) commit transaction Migrating to CreateFeatures (20150312181747)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181747"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 14:59:59.417008"], ["updated_at", "2015-03-17 14:59:59.417008"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 14:59:59.475710"], ["updated_at", "2015-03-17 14:59:59.475710"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 14:59:59.479761"], ["updated_at", "2015-03-17 14:59:59.479761"]]  (1.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:00:53.807080"], ["updated_at", "2015-03-17 15:00:53.807080"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:00:53.835261"], ["updated_at", "2015-03-17 15:00:53.835261"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:00:53.838811"], ["updated_at", "2015-03-17 15:00:53.838811"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:01:36.207224"], ["updated_at", "2015-03-17 15:01:36.207224"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:01:36.233562"], ["updated_at", "2015-03-17 15:01:36.233562"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:01:36.237488"], ["updated_at", "2015-03-17 15:01:36.237488"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-17 15:01:36.292945"], ["id", 5]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-17 15:01:36.317171"], ["id", 6]]  (2.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:01:36.322076"], ["updated_at", "2015-03-17 15:01:36.322076"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:01:36.325472"], ["updated_at", "2015-03-17 15:01:36.325472"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:01:36.329370"], ["updated_at", "2015-03-17 15:01:36.329370"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-17 15:01:36.333713"], ["id", 7]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-17 15:01:36.335478"], ["id", 8]]  (2.3ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:01:36.340481"], ["updated_at", "2015-03-17 15:01:36.340481"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:01:36.344477"], ["updated_at", "2015-03-17 15:01:36.344477"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:01:36.348297"], ["updated_at", "2015-03-17 15:01:36.348297"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-17 15:01:36.352576"], ["id", 9]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-17 15:01:36.354004"], ["id", 10]]  (3.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:01:36.359102"], ["updated_at", "2015-03-17 15:01:36.359102"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:01:36.363247"], ["updated_at", "2015-03-17 15:01:36.363247"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-17 15:01:36.367971"], ["id", 11]]  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:01:36.372256"], ["updated_at", "2015-03-17 15:01:36.372256"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:01:36.376307"], ["updated_at", "2015-03-17 15:01:36.376307"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:01:36.380792"], ["updated_at", "2015-03-17 15:01:36.380792"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-17 15:01:36.385726"], ["id", 12]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-17 15:01:36.387290"], ["id", 13]]  (3.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:01:36.392891"], ["updated_at", "2015-03-17 15:01:36.392891"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:01:36.397011"], ["updated_at", "2015-03-17 15:01:36.397011"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:01:36.401671"], ["updated_at", "2015-03-17 15:01:36.401671"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-17 15:01:36.406366"], ["id", 14]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-17 15:01:36.407945"], ["id", 15]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:01:36.412986"], ["updated_at", "2015-03-17 15:01:36.412986"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:01:36.416874"], ["updated_at", "2015-03-17 15:01:36.416874"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:01:36.422172"], ["updated_at", "2015-03-17 15:01:36.422172"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-17 15:01:36.426608"], ["id", 16]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-17 15:01:36.428748"], ["id", 17]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:01:36.434245"], ["updated_at", "2015-03-17 15:01:36.434245"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:01:36.438059"], ["updated_at", "2015-03-17 15:01:36.438059"]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-17 15:01:36.442919"], ["id", 18]]  (2.9ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.448224"], ["updated_at", "2015-03-17 15:01:36.448224"]]  (3.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:01:36.453188"], ["updated_at", "2015-03-17 15:01:36.453188"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:01:36.458700"], ["updated_at", "2015-03-17 15:01:36.458700"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-17 15:01:36.464236"], ["id", 19]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-17 15:01:36.465886"], ["id", 20]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.470882"], ["updated_at", "2015-03-17 15:01:36.470882"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:01:36.475079"], ["updated_at", "2015-03-17 15:01:36.475079"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:01:36.479594"], ["updated_at", "2015-03-17 15:01:36.479594"]]  (2.5ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-17 15:01:36.484331"], ["id", 21]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-17 15:01:36.485653"], ["id", 22]]  (2.9ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.490914"], ["updated_at", "2015-03-17 15:01:36.490914"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:01:36.495760"], ["updated_at", "2015-03-17 15:01:36.495760"]]  (2.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:01:36.500304"], ["updated_at", "2015-03-17 15:01:36.500304"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-17 15:01:36.504470"], ["id", 23]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-17 15:01:36.505996"], ["id", 24]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.510999"], ["updated_at", "2015-03-17 15:01:36.510999"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:01:36.514913"], ["updated_at", "2015-03-17 15:01:36.514913"]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-03-17 15:01:36.519766"], ["id", 25]]  (2.6ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.524525"], ["updated_at", "2015-03-17 15:01:36.524525"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:01:36.528964"], ["updated_at", "2015-03-17 15:01:36.528964"]]  (3.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:01:36.534445"], ["updated_at", "2015-03-17 15:01:36.534445"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-17 15:01:36.538658"], ["id", 26]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-17 15:01:36.539954"], ["id", 27]]  (3.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.546066"], ["updated_at", "2015-03-17 15:01:36.546066"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:01:36.549796"], ["updated_at", "2015-03-17 15:01:36.549796"]]  (3.1ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:01:36.554656"], ["updated_at", "2015-03-17 15:01:36.554656"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 16], ["updated_at", "2015-03-17 15:01:36.560809"], ["id", 28]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 16], ["updated_at", "2015-03-17 15:01:36.562777"], ["id", 29]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.568732"], ["updated_at", "2015-03-17 15:01:36.568732"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:01:36.573860"], ["updated_at", "2015-03-17 15:01:36.573860"]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:01:36.579536"], ["updated_at", "2015-03-17 15:01:36.579536"]]  (4.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 17], ["updated_at", "2015-03-17 15:01:36.585824"], ["id", 30]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 17], ["updated_at", "2015-03-17 15:01:36.587156"], ["id", 31]]  (25.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:01:36.614592"], ["updated_at", "2015-03-17 15:01:36.614592"]]  (25.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:01:36.642385"], ["updated_at", "2015-03-17 15:01:36.642385"]]  (180.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 18], ["updated_at", "2015-03-17 15:01:36.825303"], ["id", 32]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction Feature Load (1.8ms) SELECT "features".* FROM "features" Feature Load (0.3ms) SELECT "features".* FROM "features" ORDER BY "features"."id" ASC LIMIT 1 ActionLabel Load (0.3ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 1]]  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (2.2ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.3ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (2.5ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (1.5ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:18)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "created_at" datetime, "updated_at" datetime)  (0.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (1.9ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (3.0ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (1.6ms) commit transaction Migrating to CreateActionLabels (20150312181229)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181229"]]  (1.9ms) commit transaction Migrating to CreateFeatures (20150312181747)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181747"]]  (1.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:03:17.643358"], ["updated_at", "2015-03-17 15:03:17.643358"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:03:17.670723"], ["updated_at", "2015-03-17 15:03:17.670723"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:03:17.674541"], ["updated_at", "2015-03-17 15:03:17.674541"]]  (2.4ms) commit transaction ActionLabel Load (0.2ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 1]]  (0.0ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-03-17 15:03:17.691318"], ["id", 1]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-03-17 15:03:17.695529"], ["id", 2]]  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:03:17.699728"], ["updated_at", "2015-03-17 15:03:17.699728"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:03:17.702960"], ["updated_at", "2015-03-17 15:03:17.702960"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:03:17.706135"], ["updated_at", "2015-03-17 15:03:17.706135"]]  (2.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 2]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-17 15:03:17.711248"], ["id", 3]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-17 15:03:17.712458"], ["id", 4]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:03:17.717678"], ["updated_at", "2015-03-17 15:03:17.717678"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:03:17.722094"], ["updated_at", "2015-03-17 15:03:17.722094"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:03:17.725551"], ["updated_at", "2015-03-17 15:03:17.725551"]]  (1.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 3]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-17 15:03:17.729441"], ["id", 5]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-17 15:03:17.730754"], ["id", 6]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-17 15:03:17.734015"], ["updated_at", "2015-03-17 15:03:17.734015"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:03:17.738553"], ["updated_at", "2015-03-17 15:03:17.738553"]]  (2.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 4]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-17 15:03:17.744065"], ["id", 7]]  (1.3ms) commit transaction  (0.0ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:03:17.747596"], ["updated_at", "2015-03-17 15:03:17.747596"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:03:17.751061"], ["updated_at", "2015-03-17 15:03:17.751061"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:03:17.755653"], ["updated_at", "2015-03-17 15:03:17.755653"]]  (3.1ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 5]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-17 15:03:17.761313"], ["id", 8]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-17 15:03:17.762964"], ["id", 9]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:03:17.767747"], ["updated_at", "2015-03-17 15:03:17.767747"]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:03:17.772656"], ["updated_at", "2015-03-17 15:03:17.772656"]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:03:17.777852"], ["updated_at", "2015-03-17 15:03:17.777852"]]  (3.3ms) commit transaction ActionLabel Load (0.2ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 6]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-17 15:03:17.783589"], ["id", 10]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-17 15:03:17.785155"], ["id", 11]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:03:17.790074"], ["updated_at", "2015-03-17 15:03:17.790074"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:03:17.794337"], ["updated_at", "2015-03-17 15:03:17.794337"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:03:17.799269"], ["updated_at", "2015-03-17 15:03:17.799269"]]  (2.2ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 7]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-17 15:03:17.804271"], ["id", 12]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-17 15:03:17.805489"], ["id", 13]]  (3.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-17 15:03:17.810850"], ["updated_at", "2015-03-17 15:03:17.810850"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:03:17.814606"], ["updated_at", "2015-03-17 15:03:17.814606"]]  (2.4ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 8]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-17 15:03:17.819374"], ["id", 14]]  (1.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.823364"], ["updated_at", "2015-03-17 15:03:17.823364"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:03:17.828567"], ["updated_at", "2015-03-17 15:03:17.828567"]]  (3.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:03:17.833496"], ["updated_at", "2015-03-17 15:03:17.833496"]]  (3.3ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 9]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-17 15:03:17.839158"], ["id", 15]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-17 15:03:17.840351"], ["id", 16]]  (3.3ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.845981"], ["updated_at", "2015-03-17 15:03:17.845981"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:03:17.850701"], ["updated_at", "2015-03-17 15:03:17.850701"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:03:17.855882"], ["updated_at", "2015-03-17 15:03:17.855882"]]  (3.3ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 10]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-17 15:03:17.861627"], ["id", 17]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-17 15:03:17.862897"], ["id", 18]]  (3.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.868943"], ["updated_at", "2015-03-17 15:03:17.868943"]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:03:17.872535"], ["updated_at", "2015-03-17 15:03:17.872535"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:03:17.877976"], ["updated_at", "2015-03-17 15:03:17.877976"]]  (3.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 11]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-17 15:03:17.884663"], ["id", 19]] SQL (0.7ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-17 15:03:17.886280"], ["id", 20]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.890772"], ["updated_at", "2015-03-17 15:03:17.890772"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:03:17.895222"], ["updated_at", "2015-03-17 15:03:17.895222"]]  (3.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 12]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-17 15:03:17.901412"], ["id", 21]]  (3.4ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.907131"], ["updated_at", "2015-03-17 15:03:17.907131"]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-17 15:03:17.911717"], ["updated_at", "2015-03-17 15:03:17.911717"]]  (3.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-17 15:03:17.917409"], ["updated_at", "2015-03-17 15:03:17.917409"]]  (3.5ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 13]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-17 15:03:17.923397"], ["id", 22]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-17 15:03:17.924649"], ["id", 23]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.929935"], ["updated_at", "2015-03-17 15:03:17.929935"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-17 15:03:17.934375"], ["updated_at", "2015-03-17 15:03:17.934375"]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-17 15:03:17.939870"], ["updated_at", "2015-03-17 15:03:17.939870"]]  (3.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 14]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-03-17 15:03:17.946027"], ["id", 24]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-03-17 15:03:17.947302"], ["id", 25]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.952689"], ["updated_at", "2015-03-17 15:03:17.952689"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-17 15:03:17.957204"], ["updated_at", "2015-03-17 15:03:17.957204"]]  (3.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-17 15:03:17.962398"], ["updated_at", "2015-03-17 15:03:17.962398"]]  (3.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 15]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-17 15:03:17.968471"], ["id", 26]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-17 15:03:17.970065"], ["id", 27]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-17 15:03:17.975132"], ["updated_at", "2015-03-17 15:03:17.975132"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-17 15:03:17.979688"], ["updated_at", "2015-03-17 15:03:17.979688"]]  (17.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 16]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 16], ["updated_at", "2015-03-17 15:03:17.999667"], ["id", 28]]  (19.9ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Feature Load (0.3ms) SELECT "features".* FROM "features" ORDER BY "features"."id" ASC LIMIT 1 ActionLabel Load (0.2ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 1]] Started GET "/users" for 127.0.0.1 at 2015-03-17 12:05:04 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/session/new Filter chain halted as :require_login rendered or redirected Completed 302 Found in 73ms (ActiveRecord: 0.4ms) Started GET "/session/new" for 127.0.0.1 at 2015-03-17 12:05:04 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (28.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) Completed 200 OK in 352ms (Views: 340.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:05:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:05 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 30ms (Views: 28.4ms | ActiveRecord: 0.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Processing by Curupira::SessionsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 32.5ms | ActiveRecord: 0.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:05:06 -0300  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("name", "email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Eu"], ["email", "paulociecomp@gmail.com"], ["salt", "bkBEr2SasFHVznHHDw5L"], ["crypted_password", "$2a$10$YnBizNNuCuTDMOsSBD0SGui7p39uWhnUc6lceNZhRSRWCPW9cRLqK"], ["created_at", "2015-03-17 15:06:36.954441"], ["updated_at", "2015-03-17 15:06:36.954441"]]  (7.2ms) commit transaction Started GET "/session/new" for 127.0.0.1 at 2015-03-17 12:06:46 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::SessionsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Redirected to http://localhost:3000/ Filter chain halted as :redirect_to_root_with_errors rendered or redirected Completed 302 Found in 43ms (ActiveRecord: 0.7ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:06:46 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (132.3ms) Completed 500 Internal Server Error in 193ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.1ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:06:47 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (3.2ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (55.2ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:04 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (2.8ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.2ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:06 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (3.1ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.3ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:07 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (3.3ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.7ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:07 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (6.6ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (53.8ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:54 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (2.8ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.1ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:55 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (2.6ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.5ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:56 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (3.2ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.3ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:07:57 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered home/index.html.erb within layouts/application (3.5ms) Completed 500 Internal Server Error in 8ms ActionView::Template::Error (Association named 'services' was not found on Feature; perhaps you misspelled it?): 2: 3:

Você está em home#index

4: 5: <%= link_to_authorize("Test", "home/test") %> app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb___1695238711307543405_70199123187780' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.4ms) Started GET "/" for 127.0.0.1 at 2015-03-17 12:08:03 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (97.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.9ms) SQL (11.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:08:03.620894' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 164ms (Views: 148.7ms | ActiveRecord: 13.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:08:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:03 -0300 Started GET "/features" for 127.0.0.1 at 2015-03-17 12:08:06 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/features/index.html.erb within layouts/application (10.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:08:06.647838' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 45.2ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:08:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:06 -0300 Started GET "/roles" for 127.0.0.1 at 2015-03-17 12:08:18 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:08:18.603210' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 46.7ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:08:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:18 -0300 Started GET "/roles/new" for 127.0.0.1 at 2015-03-17 12:08:19 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (26.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (145.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (166.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:08:19.817249' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 219ms (Views: 209.4ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:08:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:08:19 -0300 Started POST "/roles" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qojmsLnWUdu+h53h9vvswB0NOOtxNRhTJPWHMSfyZzEV7TjQroZWP6ifRvBqsv+3CiU7iegYhNuMENhT5NqakA==", "role"=>{"name"=>"admin", "authorizations_attributes"=>{"1426604903628"=>{"feature_id"=>"1", "_destroy"=>"false"}, "1426604909244"=>{"feature_id"=>"2", "_destroy"=>"false"}, "1426604912250"=>{"feature_id"=>"3", "_destroy"=>"false"}, "1426604915376"=>{"feature_id"=>"4", "_destroy"=>"false"}, "1426604919287"=>{"feature_id"=>"", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "admin"]] SQL (0.3ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-03-17 15:09:25.210263"], ["updated_at", "2015-03-17 15:09:25.210263"]] SQL (0.1ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 2], ["role_id", 1], ["created_at", "2015-03-17 15:09:25.212291"], ["updated_at", "2015-03-17 15:09:25.212291"]] SQL (0.1ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 3], ["role_id", 1], ["created_at", "2015-03-17 15:09:25.214071"], ["updated_at", "2015-03-17 15:09:25.214071"]] SQL (0.1ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 4], ["role_id", 1], ["created_at", "2015-03-17 15:09:25.215483"], ["updated_at", "2015-03-17 15:09:25.215483"]]  (1.8ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:09:25.219636' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 22ms (ActiveRecord: 4.8ms) Started GET "/roles/1" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.4ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (21.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 15:09:25.297296' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 69ms (Views: 63.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 12:09:25 -0300 Started GET "/roles/1" for 127.0.0.1 at 2015-03-17 13:38:19 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:38:19.499597' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 48.7ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:38:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:19 -0300 Started GET "/roles/1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (3.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (30.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:38:20.344088' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 63ms (Views: 29.5ms | ActiveRecord: 30.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/roles/1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (20.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:38:20.818332' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 30.7ms | ActiveRecord: 21.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:20 -0300 Started GET "/roles/1" for 127.0.0.1 at 2015-03-17 13:38:21 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (4.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (16.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:38:21.208447' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 59ms (Views: 35.9ms | ActiveRecord: 17.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:38:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:38:21 -0300 Started GET "/users" for 127.0.0.1 at 2015-03-17 13:46:14 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:46:14.694538' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 69ms (Views: 63.7ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:46:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:14 -0300 Started GET "/users/1/edit" for 127.0.0.1 at 2015-03-17 13:46:16 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (21.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (62.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (79.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:46:16.989529' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 138ms (Views: 129.8ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:46:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:46:17 -0300 Started GET "/roles" for 127.0.0.1 at 2015-03-17 13:47:59 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (4.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:47:59.503835' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 37.2ms | ActiveRecord: 4.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:47:59 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:47:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:47:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:47:59 -0300 Started GET "/roles/1/edit" for 127.0.0.1 at 2015-03-17 13:48:01 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.3ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (4.3ms) Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 2]] CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.5ms) Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 3]] CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.3ms) Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 4]] CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (4.1ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (51.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (54.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:48:01.684500' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 120ms (Views: 113.7ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:48:01 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:01 -0300 Started GET "/users" for 127.0.0.1 at 2015-03-17 13:48:04 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:48:04.370680' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:48:04 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:04 -0300 Started GET "/users/1/edit" for 127.0.0.1 at 2015-03-17 13:48:11 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (14.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (16.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 16:48:11.665216' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 47.7ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 13:48:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 13:48:11 -0300 Started GET "/users/1/edit" for 127.0.0.1 at 2015-03-17 14:30:49 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (11.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (37.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (161.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (168.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 17:30:49.627364' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 369ms (Views: 315.3ms | ActiveRecord: 5.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 14:30:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 14:30:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 14:30:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 14:30:49 -0300 Started GET "/users" for 127.0.0.1 at 2015-03-17 14:30:51 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (18.4ms) Completed 500 Internal Server Error in 41ms ActionView::Template::Error (SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?)): 15: 16: 17: 18: <% @users.each do |user| %> 19: 20: <%= link_to user.name, user %> 21: <%= link_to user.email, user %> sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `initialize' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `new' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `prepare' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:310:in `block in exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:297:in `exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:336:in `select' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `block in select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:83:in `cache_sql' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `select_all' activerecord (4.2.0) lib/active_record/querying.rb:39:in `find_by_sql' activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries' activerecord (4.2.0) lib/active_record/relation.rb:514:in `load' activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3515630354346030236_70176101984920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (60.6ms) Started GET "/users" for 127.0.0.1 at 2015-03-17 14:32:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Completed 500 Internal Server Error in 47ms ActionView::Template::Error (SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?)): 15: 16: 17: 18: <% @users.each do |user| %> 19: 20: <%= link_to user.name, user %> 21: <%= link_to user.email, user %> sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `initialize' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `new' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `prepare' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:310:in `block in exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:297:in `exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:336:in `select' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `block in select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:83:in `cache_sql' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `select_all' activerecord (4.2.0) lib/active_record/querying.rb:39:in `find_by_sql' activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries' activerecord (4.2.0) lib/active_record/relation.rb:514:in `load' activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___3515630354346030236_70176101984920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (28.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (77.1ms) Started GET "/users" for 127.0.0.1 at 2015-03-17 14:32:26 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (8.4ms) Completed 500 Internal Server Error in 107ms ActionView::Template::Error (SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?)): 15: 16: 17: 18: <% @users.each do |user| %> 19: 20: <%= link_to user.name, user %> 21: <%= link_to user.email, user %> sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `initialize' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `new' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `prepare' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:310:in `block in exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:297:in `exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:336:in `select' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `block in select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:83:in `cache_sql' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `select_all' activerecord (4.2.0) lib/active_record/querying.rb:39:in `find_by_sql' activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries' activerecord (4.2.0) lib/active_record/relation.rb:514:in `load' activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___4559352777321779186_70328611410160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (59.4ms) Started GET "/users" for 127.0.0.1 at 2015-03-17 14:32:27 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.2ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (SQLite3::SQLException: no such column: users.group_id: SELECT "users".* FROM "users" WHERE "users"."group_id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?)): 15: 16: 17: 18: <% @users.each do |user| %> 19: 20: <%= link_to user.name, user %> 21: <%= link_to user.email, user %> sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `initialize' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `new' sqlite3 (1.3.10) lib/sqlite3/database.rb:91:in `prepare' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:310:in `block in exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:466:in `block in log' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activerecord (4.2.0) lib/active_record/connection_adapters/abstract_adapter.rb:460:in `log' activerecord (4.2.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:297:in `exec_query' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:336:in `select' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `block in select_all' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:83:in `cache_sql' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/query_cache.rb:68:in `select_all' activerecord (4.2.0) lib/active_record/querying.rb:39:in `find_by_sql' activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries' activerecord (4.2.0) lib/active_record/relation.rb:514:in `load' activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___4559352777321779186_70328611410160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.2ms) Started GET "/users" for 127.0.0.1 at 2015-03-17 14:33:09 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.5ms) Completed 500 Internal Server Error in 52ms ActionView::Template::Error (Association named 'groups' was not found on GroupUser; perhaps you misspelled it?): 15: 16: 17: 18: <% @users.each do |user| %> 19: 20: <%= link_to user.name, user %> 21: <%= link_to user.email, user %> activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:218:in `find_reflection' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:223:in `block in build' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `each' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `map' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `build' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:231:in `block in build' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `each' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `map' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:222:in `build' activerecord (4.2.0) lib/active_record/associations/join_dependency.rb:99:in `initialize' activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:376:in `new' activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:376:in `construct_join_dependency' activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:355:in `find_with_associations' activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries' activerecord (4.2.0) lib/active_record/relation.rb:514:in `load' activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb:18:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_index_html_erb___4559352777321779186_70328611410160' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.4ms) Started GET "/users" for 127.0.0.1 at 2015-03-17 14:33:15 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 17:33:16.076964' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 94ms (Views: 55.9ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-17 14:33:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-17 14:33:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-17 14:33:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-17 14:33:16 -0300 Started GET "/" for ::1 at 2015-03-17 20:52:11 -0300 ActiveRecord::SchemaMigration Load (27.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (30.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (626.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 1404ms (Views: 1371.5ms | ActiveRecord: 31.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:52:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:52:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:52:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:52:13 -0300 Started GET "/session/new" for ::1 at 2015-03-17 20:52:15 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (185.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 249ms (Views: 237.0ms | ActiveRecord: 0.0ms) Started POST "/session" for ::1 at 2015-03-17 20:52:17 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"blF0Z+hEQZVZ82Zj5V5aDbN63EblEcqSS3+MqwuhlH6qHIQpxJ2p+hgc/75Lv529XvbgAFXNJq89Nk5nL50ngQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (66.5ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.8ms) UPDATE "users" SET "last_login_at" = '2015-03-17 23:52:17.594813' WHERE "users"."id" = ? [["id", 1]] SQL (7.4ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (49.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:52:17.610125' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 342ms (ActiveRecord: 126.3ms) Started GET "/" for ::1 at 2015-03-17 20:52:17 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:52:17.739602' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 50.3ms | ActiveRecord: 4.8ms) Started GET "/users" for ::1 at 2015-03-17 20:52:19 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (45.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (23.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:52:19.638062' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 276ms (Views: 105.3ms | ActiveRecord: 24.5ms) Started GET "/users/new" for ::1 at 2015-03-17 20:52:23 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (44.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (86.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (101.8ms) Completed 500 Internal Server Error in 117ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (73.7ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:05 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (10.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (32.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (35.5ms) Completed 500 Internal Server Error in 77ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.6ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:10 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (8.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (11.6ms) Completed 500 Internal Server Error in 19ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.1ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:11 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.9ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (19.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (75.2ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:11 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.5ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (23.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (78.0ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:12 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.3ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.4ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:30 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (7.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (24.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (25.9ms) Completed 500 Internal Server Error in 56ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (6.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (66.1ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:32 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.5ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (65.4ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:46 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (9.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (27.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (30.5ms) Completed 500 Internal Server Error in 68ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (13.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (62.2ms) Started GET "/users/new" for ::1 at 2015-03-17 20:54:48 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (9.4ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1:
2: <% if f.object.group.blank? || f.object.group.active? %> 3: <%= f.select :group_id, active_user_groups_select_options %> 4: <% else %> 5: <%= f.object.user_group.name %> 6: <% end %> /Users/paulomoura/projetos/curupira/app/helpers/curupira/relationship_select_options_helper.rb:2:in `active_user_groups_select_options' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__group_user_fields_html_erb__1280043348560472379_70294441734220' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' cocoon (1.2.6) lib/cocoon/view_helpers.rb:49:in `block in render_association' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:714:in `fields_for' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `each' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:1581:in `fields_for' cocoon (1.2.6) lib/cocoon/view_helpers.rb:47:in `render_association' cocoon (1.2.6) lib/cocoon/view_helpers.rb:95:in `link_to_add_association' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:35:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer' actionview (4.2.0) lib/action_view/helpers/capture_helper.rb:38:in `capture' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:444:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb:1:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users__form_html_erb__1438340837213873533_70294447732340' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/partial_renderer.rb:309:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.2.0) lib/action_view/helpers/rendering_helper.rb:35:in `render' /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb:3:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_new_html_erb___203674616263792279_70294447678200' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.2ms) Started GET "/users/new" for ::1 at 2015-03-17 20:55:19 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (13.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (62.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (139.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (141.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:20.161249' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 174ms (Views: 167.0ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:20 -0300 Started GET "/groups" for ::1 at 2015-03-17 20:55:37 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:37.965929' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 60ms (Views: 54.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:38 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 20:55:39 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (47.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (69.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:39.630154' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 124ms (Views: 114.8ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:39 -0300 Started POST "/groups" for ::1 at 2015-03-17 20:55:51 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"8UHQuyE08V0p9Q6UqmxiaDcljuy7Kg+vKDl4AeQP7nk1DCD1De0ZMmgal0kEjaXY2qmyqgv245JecLrNwDNdhg==", "group"=>{"name"=>"MInha empresa", "active"=>"1", "role_groups_attributes"=>{"1426636547974"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "MInha empresa"], ["active", "t"], ["created_at", "2015-03-17 23:55:51.344912"], ["updated_at", "2015-03-17 23:55:51.344912"]] SQL (0.2ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 1], ["created_at", "2015-03-17 23:55:51.346859"], ["updated_at", "2015-03-17 23:55:51.346859"]]  (1.7ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:51.351693' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 16ms (ActiveRecord: 5.8ms) Started GET "/groups/1" for ::1 at 2015-03-17 20:55:51 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (4.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:51.436644' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 67.6ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:51 -0300 Started GET "/users" for ::1 at 2015-03-17 20:55:53 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.5ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:53.341475' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 32.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:53 -0300 Started GET "/users/new" for ::1 at 2015-03-17 20:55:54 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (12.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (14.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:55:54.605597' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 41.9ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:55:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:55:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:55:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:55:54 -0300 Started GET "/users" for ::1 at 2015-03-17 20:56:22 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (29.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-17 23:56:22.923964' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 66ms (Views: 31.3ms | ActiveRecord: 29.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 20:56:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 20:56:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 20:56:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 20:56:23 -0300 Started GET "/users" for ::1 at 2015-03-17 21:06:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 00:06:57.179243' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 29.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 21:06:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 21:06:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 21:06:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 21:06:57 -0300 Started GET "/users" for ::1 at 2015-03-17 21:06:57 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."created_at" AS t0_r14, "users"."updated_at" AS t0_r15, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 00:06:58.024745' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 29.8ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/users/new" for ::1 at 2015-03-17 21:06:58 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (12.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (14.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 00:06:58.579614' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 42.2ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 21:06:58 -0300  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.3ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.2ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (2.0ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.7ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (1.7ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.2ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (2.4ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:19)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (2.3ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (2.6ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.2ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (1.4ms) commit transaction Migrating to CreateActionLabels (20150312181229)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181229"]]  (2.7ms) commit transaction Migrating to CreateFeatures (20150312181747)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181747"]]  (1.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) begin transaction SQL (39.2ms) INSERT INTO "users" ("name", "email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Eu"], ["email", "paulociecomp@gmail.com"], ["salt", "zNyxcrKs1gC8xHsr81xs"], ["crypted_password", "$2a$10$TcsX996TMw3iPOreDXn1cuHg42JBPb3Ufe9k0B67LjRV/Noeufqg."], ["created_at", "2015-03-18 01:52:42.042743"], ["updated_at", "2015-03-18 01:52:42.042743"]]  (71.1ms) commit transaction Started GET "/users/new" for ::1 at 2015-03-17 22:52:55 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (11.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (87.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (196.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (221.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 01:52:56.019110' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 465ms (Views: 386.6ms | ActiveRecord: 4.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 22:52:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 22:52:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 22:52:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 22:52:56 -0300 Started GET "/users" for ::1 at 2015-03-17 23:03:52 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.4ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:03:52.250250' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 85ms (Views: 33.0ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:03:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:03:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:03:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:03:52 -0300 Started GET "/users" for ::1 at 2015-03-17 23:05:02 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/users' AND "action_labels"."name" = 'index' AND "users"."id" = 1 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 48ms (ActiveRecord: 1.8ms) Started GET "/" for ::1 at 2015-03-17 23:05:02 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (36.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:05:02.363147' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 62.8ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:05:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:05:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:05:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:05:02 -0300 User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.2ms) begin transaction SQL (0.5ms) UPDATE "users" SET "admin" = ?, "updated_at" = ? WHERE "users"."id" = ? [["admin", "t"], ["updated_at", "2015-03-18 02:05:33.284113"], ["id", 1]]  (0.9ms) commit transaction Started GET "/" for ::1 at 2015-03-17 23:05:44 -0300 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (90.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:05:44.325944' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 145ms (Views: 140.3ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:05:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:05:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:05:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:05:44 -0300 Started GET "/" for ::1 at 2015-03-17 23:05:45 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:05:45.266859' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:05:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:05:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:05:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:05:45 -0300 Started GET "/users" for ::1 at 2015-03-17 23:05:47 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.6ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (7.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:05:47.102487' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 77ms (Views: 37.6ms | ActiveRecord: 3.7ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:05:47 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:05:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:05:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:05:47 -0300 Started GET "/users" for ::1 at 2015-03-17 23:09:20 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:20.882698' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 28.6ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:20 -0300 Started GET "/users" for ::1 at 2015-03-17 23:09:21 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:21.599127' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 28.0ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:21 -0300 Started GET "/users" for ::1 at 2015-03-17 23:09:22 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:22.097098' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 30.6ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/users" for ::1 at 2015-03-17 23:09:22 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.3ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:22.623863' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 49.9ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:22 -0300 Started GET "/users" for ::1 at 2015-03-17 23:09:23 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.2ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:23.258534' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 27.8ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:23 -0300 Started GET "/users/new" for ::1 at 2015-03-17 23:09:25 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (23.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (61.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (64.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (5.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:09:25.987076' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 95.6ms | ActiveRecord: 6.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:09:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:09:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:09:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:09:26 -0300 Started GET "/users" for ::1 at 2015-03-17 23:25:26 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:26.735864' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 106ms (Views: 53.2ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:26 -0300 Started GET "/groups" for ::1 at 2015-03-17 23:25:34 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:34.337363' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 33.6ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:34 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 23:25:35 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (19.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (101.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (145.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:35.761749' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 188ms (Views: 177.0ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:35 -0300 Started POST "/groups" for ::1 at 2015-03-17 23:25:49 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"V7If9UVE9jhtGIanw3RL1izie4WhBfgMg0BEcDMYBxWT/++7aZ0eVyz3H3ptlYxmwW5HwxHZFDH1CYa8FyS06g==", "group"=>{"name"=>"SEFA", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "SEFA"], ["active", "t"], ["created_at", "2015-03-18 02:25:49.317329"], ["updated_at", "2015-03-18 02:25:49.317329"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:49.322858' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 12ms (ActiveRecord: 4.8ms) Started GET "/groups/1" for ::1 at 2015-03-17 23:25:49 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (10.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:49.401094' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 39.5ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:49 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:49 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:49 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:49 -0300 Started GET "/groups" for ::1 at 2015-03-17 23:25:52 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (6.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:52.758215' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 32.9ms | ActiveRecord: 7.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:52 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 23:25:53 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (7.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:25:53.853859' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 43.5ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:25:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:25:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:25:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:25:53 -0300 Started POST "/groups" for ::1 at 2015-03-17 23:26:00 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"HMIAnlw5b4rMiF17//M1Ko8H1Pblj9j50vIrS9Lfl8zYj/DQcOCH5Y1nxKZREvKaYovosFVTNMSku+mH9uMkMw==", "group"=>{"name"=>"COSANPA", "active"=>"1"}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "COSANPA"], ["active", "t"], ["created_at", "2015-03-18 02:26:00.478171"], ["updated_at", "2015-03-18 02:26:00.478171"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/groups/2 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:26:00.483608' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 12ms (ActiveRecord: 4.5ms) Started GET "/groups/2" for ::1 at 2015-03-17 23:26:00 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 2]] RoleGroup Load (0.1ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:26:00.543169' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 34.4ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:26:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:26:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:26:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:26:00 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:26:02 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:26:02.237007' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.4ms | ActiveRecord: 2.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:26:02 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:26:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:26:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:26:02 -0300 Started GET "/roles/new" for ::1 at 2015-03-17 23:26:03 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (29.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (71.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:26:03.524114' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 107ms (Views: 98.2ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:26:03 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:26:03 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:26:03 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:26:03 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-18 02:26:23.176497"], ["updated_at", "2015-03-18 02:26:23.176497"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-18 02:26:23.204450"], ["updated_at", "2015-03-18 02:26:23.204450"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-18 02:26:23.208764"], ["updated_at", "2015-03-18 02:26:23.208764"]]  (1.6ms) commit transaction ActionLabel Load (0.3ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 1]]  (0.1ms) begin transaction SQL (0.5ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-03-18 02:26:23.228097"], ["id", 1]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-03-18 02:26:23.233457"], ["id", 2]]  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-18 02:26:23.237747"], ["updated_at", "2015-03-18 02:26:23.237747"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-18 02:26:23.240938"], ["updated_at", "2015-03-18 02:26:23.240938"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-18 02:26:23.244689"], ["updated_at", "2015-03-18 02:26:23.244689"]]  (1.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 2]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-18 02:26:23.249061"], ["id", 3]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-18 02:26:23.250323"], ["id", 4]]  (1.8ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-18 02:26:23.254377"], ["updated_at", "2015-03-18 02:26:23.254377"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-18 02:26:23.257765"], ["updated_at", "2015-03-18 02:26:23.257765"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-18 02:26:23.261722"], ["updated_at", "2015-03-18 02:26:23.261722"]]  (1.7ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 3]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-18 02:26:23.265912"], ["id", 5]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-18 02:26:23.267461"], ["id", 6]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar usuário"], ["controller", "curupira/users"], ["created_at", "2015-03-18 02:26:23.271813"], ["updated_at", "2015-03-18 02:26:23.271813"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-18 02:26:23.274831"], ["updated_at", "2015-03-18 02:26:23.274831"]]  (1.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 4]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-18 02:26:23.278904"], ["id", 7]]  (1.4ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-18 02:26:23.282904"], ["updated_at", "2015-03-18 02:26:23.282904"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-18 02:26:23.285989"], ["updated_at", "2015-03-18 02:26:23.285989"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-18 02:26:23.289657"], ["updated_at", "2015-03-18 02:26:23.289657"]]  (2.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 5]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-18 02:26:23.294753"], ["id", 8]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-18 02:26:23.296023"], ["id", 9]]  (2.8ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-18 02:26:23.301581"], ["updated_at", "2015-03-18 02:26:23.301581"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-18 02:26:23.305397"], ["updated_at", "2015-03-18 02:26:23.305397"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-18 02:26:23.308893"], ["updated_at", "2015-03-18 02:26:23.308893"]]  (1.3ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 6]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-18 02:26:23.312539"], ["id", 10]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-18 02:26:23.313844"], ["id", 11]]  (1.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-18 02:26:23.317856"], ["updated_at", "2015-03-18 02:26:23.317856"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-18 02:26:23.322484"], ["updated_at", "2015-03-18 02:26:23.322484"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-18 02:26:23.326125"], ["updated_at", "2015-03-18 02:26:23.326125"]]  (1.6ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 7]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-18 02:26:23.330066"], ["id", 12]] SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-18 02:26:23.331803"], ["id", 13]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Perfis"], ["controller", "curupira/roles"], ["created_at", "2015-03-18 02:26:23.336780"], ["updated_at", "2015-03-18 02:26:23.336780"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-18 02:26:23.340569"], ["updated_at", "2015-03-18 02:26:23.340569"]]  (1.7ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 8]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-18 02:26:23.344667"], ["id", 14]]  (2.6ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.349935"], ["updated_at", "2015-03-18 02:26:23.349935"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-18 02:26:23.353782"], ["updated_at", "2015-03-18 02:26:23.353782"]]  (1.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-18 02:26:23.357401"], ["updated_at", "2015-03-18 02:26:23.357401"]]  (1.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 9]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-18 02:26:23.361465"], ["id", 15]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-18 02:26:23.362749"], ["id", 16]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.367036"], ["updated_at", "2015-03-18 02:26:23.367036"]]  (2.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-18 02:26:23.371723"], ["updated_at", "2015-03-18 02:26:23.371723"]]  (2.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-18 02:26:23.376442"], ["updated_at", "2015-03-18 02:26:23.376442"]]  (2.2ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 10]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-18 02:26:23.381097"], ["id", 17]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-18 02:26:23.382433"], ["id", 18]]  (2.7ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.387602"], ["updated_at", "2015-03-18 02:26:23.387602"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-18 02:26:23.391108"], ["updated_at", "2015-03-18 02:26:23.391108"]]  (2.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-18 02:26:23.395823"], ["updated_at", "2015-03-18 02:26:23.395823"]]  (1.8ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 11]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-18 02:26:23.400099"], ["id", 19]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-18 02:26:23.401427"], ["id", 20]]  (2.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.406151"], ["updated_at", "2015-03-18 02:26:23.406151"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-18 02:26:23.409632"], ["updated_at", "2015-03-18 02:26:23.409632"]]  (1.9ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 12]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-18 02:26:23.413945"], ["id", 21]]  (2.4ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Cadastrar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.419019"], ["updated_at", "2015-03-18 02:26:23.419019"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-18 02:26:23.422280"], ["updated_at", "2015-03-18 02:26:23.422280"]]  (1.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-18 02:26:23.425380"], ["updated_at", "2015-03-18 02:26:23.425380"]]  (1.5ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 13]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-18 02:26:23.428942"], ["id", 22]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-03-18 02:26:23.430261"], ["id", 23]]  (3.1ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Visualizar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.436058"], ["updated_at", "2015-03-18 02:26:23.436058"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-18 02:26:23.439618"], ["updated_at", "2015-03-18 02:26:23.439618"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-18 02:26:23.443695"], ["updated_at", "2015-03-18 02:26:23.443695"]]  (1.5ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 14]]  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-03-18 02:26:23.447624"], ["id", 24]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-03-18 02:26:23.448990"], ["id", 25]]  (2.0ms) commit transaction  (0.1ms) begin transaction  (0.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Editar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.453399"], ["updated_at", "2015-03-18 02:26:23.453399"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-18 02:26:23.457393"], ["updated_at", "2015-03-18 02:26:23.457393"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-18 02:26:23.461756"], ["updated_at", "2015-03-18 02:26:23.461756"]]  (2.7ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 15]]  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-18 02:26:23.466935"], ["id", 26]] SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-03-18 02:26:23.468259"], ["id", 27]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Deletar Grupos"], ["controller", "curupira/groups"], ["created_at", "2015-03-18 02:26:23.472060"], ["updated_at", "2015-03-18 02:26:23.472060"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "destroy"], ["created_at", "2015-03-18 02:26:23.475731"], ["updated_at", "2015-03-18 02:26:23.475731"]]  (2.1ms) commit transaction ActionLabel Load (0.1ms) SELECT "action_labels".* FROM "action_labels" WHERE "action_labels"."feature_id" = ? [["feature_id", 16]]  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 16], ["updated_at", "2015-03-18 02:26:23.480407"], ["id", 28]]  (1.5ms) commit transaction  (0.1ms) begin transaction  (0.1ms) commit transaction Started GET "/roles/new" for ::1 at 2015-03-17 23:26:37 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (13.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (54.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (60.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:26:38.105411' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 175ms (Views: 112.6ms | ActiveRecord: 4.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:26:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:26:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:26:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:26:38 -0300 Started POST "/roles" for ::1 at 2015-03-17 23:27:46 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"shXNFUKFWNFy9GdnOUIIPAKBjpQ6wMO7VOgQkUOjU3F2WD1bblywvjMb/rqXo8+M7w2y0oocL4YiodJdZ5/gjg==", "role"=>{"name"=>"Cadastrador de Perfis", "authorizations_attributes"=>{"1426645599204"=>{"feature_id"=>"5", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrador de Perfis"]] SQL (0.3ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 5], ["role_id", 1], ["created_at", "2015-03-18 02:27:46.682416"], ["updated_at", "2015-03-18 02:27:46.682416"]]  (2.4ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:27:46.688366' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 17ms (ActiveRecord: 5.5ms) Started GET "/roles/1" for ::1 at 2015-03-17 23:27:46 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (34.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:27:46.835469' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 67.5ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:27:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:27:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:27:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:27:46 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:28:14 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:14.580332' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.9ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:14 -0300 Started GET "/roles/new" for ::1 at 2015-03-17 23:28:16 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (8.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (10.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:16.109860' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 38.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:16 -0300 Started POST "/roles" for ::1 at 2015-03-17 23:28:37 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"GHKT1GfAQ/dbCth7s+MW//0imH2LXd39Udg6+jFzpzbcP2OaSxmrmBrlQaYdAtFPEK6kOzuBMcAnkfg2FU8UyQ==", "role"=>{"name"=>"Cadastrador de Grupos", "authorizations_attributes"=>{"1426645697803"=>{"feature_id"=>"13", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Cadastrador de Grupos"]] SQL (0.2ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 13], ["role_id", 2], ["created_at", "2015-03-18 02:28:37.325592"], ["updated_at", "2015-03-18 02:28:37.325592"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/roles/2 SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:37.330179' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 14ms (ActiveRecord: 5.2ms) Started GET "/roles/2" for ::1 at 2015-03-17 23:28:37 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 2]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:37.380267' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.4ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:37 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:37 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:28:40 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.4ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:40.355997' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 50.7ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:40 -0300 Started GET "/users" for ::1 at 2015-03-17 23:28:56 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:56.750667' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 34.3ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:56 -0300 Started GET "/users/new" for ::1 at 2015-03-17 23:28:58 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" INNER JOIN "group_users" ON "group_users"."group_id" = "groups"."id" INNER JOIN "users" ON "users"."id" = "group_users"."user_id" WHERE "users"."id" = 1 AND "groups"."active" = 't' Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (4.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (31.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (49.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (52.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:28:58.894904' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 86ms (Views: 79.8ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:28:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:28:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:28:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:28:58 -0300 Started GET "/users/new" for ::1 at 2015-03-17 23:30:06 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.4ms) SELECT "groups".* FROM "groups" Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (14.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (40.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (60.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (63.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:06.850292' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 127ms (Views: 93.1ms | ActiveRecord: 4.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:06 -0300 Started GET "/groups" for ::1 at 2015-03-17 23:30:32 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:32.096216' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 37.4ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:32 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 23:30:33 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (19.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (22.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:33.494197' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 56.8ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:33 -0300 Started POST "/groups" for ::1 at 2015-03-17 23:30:46 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"vDTlRqsnz2jHsqv7GuATK0rjPux6sVOw/JlEgCNNNH94eRUIh/4nB4ZdMia0AdSbp28Cqsptv42K0IZMB3GHgA==", "group"=>{"name"=>"GERENCIAMENTO DE PERFIS", "active"=>"1", "role_groups_attributes"=>{"1426645844041"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.5ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "GERENCIAMENTO DE PERFIS"], ["active", "t"], ["created_at", "2015-03-18 02:30:46.833598"], ["updated_at", "2015-03-18 02:30:46.833598"]] SQL (0.4ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 3], ["created_at", "2015-03-18 02:30:46.836114"], ["updated_at", "2015-03-18 02:30:46.836114"]]  (2.7ms) commit transaction Redirected to http://localhost:3000/groups/3 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:46.842541' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 16ms (ActiveRecord: 5.7ms) Started GET "/groups/3" for ::1 at 2015-03-17 23:30:46 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"3"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]] RoleGroup Load (0.3ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 3]] Role Load (0.4ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 3]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:46.919004' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 39.5ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:46 -0300 Started GET "/groups" for ::1 at 2015-03-17 23:30:57 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:57.697383' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 30.0ms | ActiveRecord: 3.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:57 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:57 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 23:30:58 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:30:58.983694' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 38.2ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:30:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:30:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:30:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:30:59 -0300 Started POST "/groups" for ::1 at 2015-03-17 23:31:10 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"e4FwXhav6iqQyZw8i99ir2fgyZ8nxSEL2nU1HdeLsgS/zIAQOnYCRdEmBeElPqUfimz12ZcZzTasPPfR87cB+w==", "group"=>{"name"=>"GERENCIAMENTO DE GRUPOS", "active"=>"1", "role_groups_attributes"=>{"1426645868477"=>{"role_id"=>"2", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "GERENCIAMENTO DE GRUPOS"], ["active", "t"], ["created_at", "2015-03-18 02:31:10.810572"], ["updated_at", "2015-03-18 02:31:10.810572"]] SQL (0.1ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 2], ["group_id", 4], ["created_at", "2015-03-18 02:31:10.812217"], ["updated_at", "2015-03-18 02:31:10.812217"]]  (2.9ms) commit transaction Redirected to http://localhost:3000/groups/4 SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:10.817604' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 15ms (ActiveRecord: 5.7ms) Started GET "/groups/4" for ::1 at 2015-03-17 23:31:10 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"4"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 4]] RoleGroup Load (0.1ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 4]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 4]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:10.876359' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 44.2ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:10 -0300 Started GET "/users" for ::1 at 2015-03-17 23:31:12 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:12.463032' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 3.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:12 -0300 Started GET "/users/new" for ::1 at 2015-03-17 23:31:14 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (11.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (14.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:14.244691' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 45.6ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:14 -0300 Started POST "/users" for ::1 at 2015-03-17 23:31:45 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"D9YYDeKUCjmw5f3H8mvSssT0zD5yBRLeR8/4YjfeSHPLm+hDzk3iVvEKZBpcihUCKXjweMLZ/uMxhjquE+L7jA==", "user"=>{"email"=>"fulano@email.com", "name"=>"Fulano de Tal", "username"=>"fulano", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1426645895105"=>{"group_id"=>"3", "role_group_users_attributes"=>{"1426645899162"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Create User"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "name", "username", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "fulano@email.com"], ["name", "Fulano de Tal"], ["username", "fulano"], ["salt", "BstZrLksS7Tq1ypDoWGx"], ["crypted_password", "$2a$10$n/KreCztJCswdeh78PXLbuDLr/olh2me/3CXETnJ6vlpbBgoFDxm6"], ["created_at", "2015-03-18 02:31:45.602995"], ["updated_at", "2015-03-18 02:31:45.602995"]] SQL (0.3ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 3], ["user_id", 2], ["created_at", "2015-03-18 02:31:45.605309"], ["updated_at", "2015-03-18 02:31:45.605309"]] SQL (0.4ms) INSERT INTO "role_group_users" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 1], ["created_at", "2015-03-18 02:31:45.607635"], ["updated_at", "2015-03-18 02:31:45.607635"]]  (18.7ms) commit transaction Redirected to http://localhost:3000/users/2 SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:45.630451' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 192ms (ActiveRecord: 21.9ms) Started GET "/users/2" for ::1 at 2015-03-17 23:31:45 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (6.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:45.681754' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 35.9ms | ActiveRecord: 3.1ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:45 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:45 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:45 -0300 Started GET "/users" for ::1 at 2015-03-17 23:31:50 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (4.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:50.442185' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 39.2ms | ActiveRecord: 4.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:50 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:50 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:50 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:50 -0300 Started GET "/users/new" for ::1 at 2015-03-17 23:31:52 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (12.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (14.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (5.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:31:52.411033' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 58ms (Views: 49.1ms | ActiveRecord: 6.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:31:52 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:31:52 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:31:52 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:31:52 -0300 Started POST "/users" for ::1 at 2015-03-17 23:32:13 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"lxpzeUWypLD+Gy6vzUwgs5ZGCiP7SEMWU0Bed+sVSuBTV4M3aWtM37/0t3JjrecDe8o2ZUuUryslCZy7zyn5Hw==", "user"=>{"email"=>"beltrano@email.com", "name"=>"Beltrano", "username"=>"beltrano@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1426645927869"=>{"group_id"=>"4", "role_group_users_attributes"=>{"1426645930576"=>{"role_id"=>"2", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Create User"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "users" ("email", "name", "username", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "beltrano@email.com"], ["name", "Beltrano"], ["username", "beltrano@gmail.com"], ["salt", "Rsnrp4nTVEgACaxXnsh4"], ["crypted_password", "$2a$10$6xfAj.EviM34BNqjYi8XhuLeFmpILXOot7g0dK4b8hmAh3oBnINU."], ["created_at", "2015-03-18 02:32:13.552717"], ["updated_at", "2015-03-18 02:32:13.552717"]] SQL (0.1ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 4], ["user_id", 3], ["created_at", "2015-03-18 02:32:13.554979"], ["updated_at", "2015-03-18 02:32:13.554979"]] SQL (0.1ms) INSERT INTO "role_group_users" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 2], ["group_user_id", 2], ["created_at", "2015-03-18 02:32:13.556262"], ["updated_at", "2015-03-18 02:32:13.556262"]]  (3.8ms) commit transaction Redirected to http://localhost:3000/users/3 SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:13.562985' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 175ms (ActiveRecord: 6.5ms) Started GET "/users/3" for ::1 at 2015-03-17 23:32:13 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"3"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 3]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 4]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 2]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (4.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:13.640306' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 70ms (Views: 32.2ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:13 -0300 Started GET "/users" for ::1 at 2015-03-17 23:32:16 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:16.216499' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.6ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:16 -0300 Started GET "/users/2/edit" for ::1 at 2015-03-17 23:32:35 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]] Group Load (0.2ms) SELECT "groups".* FROM "groups" RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.4ms) CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (49.3ms) CACHE (0.0ms) SELECT "groups".* FROM "groups" CACHE (0.0ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (6.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (64.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (66.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:35.459195' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 97ms (Views: 90.8ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:35 -0300 Started GET "/session" for ::1 at 2015-03-17 23:32:48 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (2.2ms) UPDATE "users" SET "last_logout_at" = '2015-03-18 02:32:48.825084' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 6ms (ActiveRecord: 2.5ms) Started GET "/session/new" for ::1 at 2015-03-17 23:32:48 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:48 -0300 Started POST "/session" for ::1 at 2015-03-17 23:32:57 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"S2ob54VC+gI8Fp0AuYQUUepA6mr6+Il31H7GOJ8VDtNLzo9SSKQ7VtuKoVABcSes/NBYG+FZT9kpfaQMIvqp3w==", "user"=>{"username"=>"fulano@email.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'fulano@email.com' OR "users"."email" = 'fulano@email.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (7.2ms) UPDATE "users" SET "last_login_at" = '2015-03-18 02:32:57.285085' WHERE "users"."id" = ? [["id", 2]] SQL (2.3ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 2]] Redirected to http://localhost:3000/ SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:57.298924' WHERE "users"."id" = ? [["id", 2]] Completed 302 Found in 172ms (ActiveRecord: 11.4ms) Started GET "/" for ::1 at 2015-03-17 23:32:57 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (32.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:57.430653' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 68ms (Views: 63.1ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:57 -0300 Started GET "/users" for ::1 at 2015-03-17 23:32:59 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/users' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-17 23:32:59 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.5ms) SQL (3.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:32:59.665483' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 33ms (Views: 26.8ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:32:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:32:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:32:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:32:59 -0300 Started GET "/groups" for ::1 at 2015-03-17 23:33:06 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/groups' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:06 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:06.824000' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 33ms (Views: 29.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:06 -0300 Started GET "/features" for ::1 at 2015-03-17 23:33:07 -0300 Processing by Curupira::FeaturesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/features' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:07 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (15.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:07.974583' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 48ms (Views: 30.4ms | ActiveRecord: 16.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:08 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:09 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.8ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/" for ::1 at 2015-03-17 23:33:09 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:09.235916' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 32ms (Views: 28.4ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:09 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:09 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-17 23:33:09 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:09.998570' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:10 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:10 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:10.218581' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 35ms (Views: 30.7ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:10 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:10 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (4.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:10.639576' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 36ms (Views: 29.7ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:10 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-17 23:33:10 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:10.815031' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 32ms (Views: 27.8ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:10 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:10 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:10 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:11.008230' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 37ms (Views: 28.9ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:11 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:11 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:12 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:12.044452' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 31ms (Views: 27.1ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:12 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:12 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:12.556274' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 40ms (Views: 36.2ms | ActiveRecord: 2.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:12 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-17 23:33:12 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (4.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:12.889948' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:12 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:13 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-17 23:33:13 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (5.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:13.234228' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 38ms (Views: 29.7ms | ActiveRecord: 5.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:13 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:13 -0300 Processing by HomeController#index as HTML User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (4.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:13.589403' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 32ms (Views: 27.5ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:13 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-17 23:33:13 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (4.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:13.881655' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 37ms (Views: 30.5ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:13 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:14 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-17 23:33:14 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (3.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:14.355474' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 39ms (Views: 32.7ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/roles" for ::1 at 2015-03-17 23:33:14 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'index' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/" for ::1 at 2015-03-17 23:33:14 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:14.583648' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 32ms (Views: 27.9ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:14 -0300 Started GET "/roles/new" for ::1 at 2015-03-17 23:33:23 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" = 'new' AND "users"."id" = 2 Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (17.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (19.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:23.262435' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 68ms (Views: 57.8ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:23 -0300 Started GET "/groups/new" for ::1 at 2015-03-17 23:33:30 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/groups' AND "action_labels"."name" = 'new' AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET "/" for ::1 at 2015-03-17 23:33:30 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:33:30.756367' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 53ms (Views: 49.3ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:33:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:33:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:33:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:33:30 -0300 Started GET "/session" for ::1 at 2015-03-17 23:42:35 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (2.4ms) UPDATE "users" SET "last_logout_at" = '2015-03-18 02:42:35.974304' WHERE "users"."id" = ? [["id", 2]] Redirected to http://localhost:3000/session/new Completed 302 Found in 7ms (ActiveRecord: 2.5ms) Started GET "/session/new" for ::1 at 2015-03-17 23:42:35 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.0ms) Completed 200 OK in 28ms (Views: 27.7ms | ActiveRecord: 0.0ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:42:36 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:42:36 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:42:36 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:42:36 -0300 Started POST "/session" for ::1 at 2015-03-17 23:42:37 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"35KihhWbMCpipv8gm89P5iHYTGfYKmDbIEAa8WAZfi3FPaifYB0AhgSvBGfI1WztOsMvJDEzShftPPgQemarqw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (16.0ms) UPDATE "users" SET "last_login_at" = '2015-03-18 02:42:37.911640' WHERE "users"."id" = ? [["id", 1]] SQL (1.3ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:42:37.931928' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 171ms (ActiveRecord: 19.3ms) Started GET "/" for ::1 at 2015-03-17 23:42:37 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" = 'test' AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:42:37.972220' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 31ms (Views: 27.7ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:42:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:42:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:42:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:42:38 -0300 Started GET "/users" for ::1 at 2015-03-17 23:42:40 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:42:40.073407' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 33.9ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:42:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:42:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:42:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:42:40 -0300 Started GET "/users" for ::1 at 2015-03-17 23:42:54 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (0.8ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-18 02:42:54.773831' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 82ms (Views: 37.7ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-17 23:42:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-17 23:42:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-17 23:42:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-17 23:42:54 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for ::1 at 2015-03-19 15:20:17 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (124.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) Completed 200 OK in 98170ms (Views: 312.8ms | ActiveRecord: 1.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 15:21:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 15:21:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 15:21:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 15:21:55 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (2.6ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id")  (1.8ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (1.2ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (1.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.7ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.4ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (1.3ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (1.7ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.3ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.3ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (1.7ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (1.4ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (1.4ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (1.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  (2.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)   (3.2ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.4ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.3ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229')  (1.4ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (1.4ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id")  (1.3ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.5ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (1.2ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (1.2ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.8ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (1.4ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (1.7ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.5ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'   (2.2ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (1.4ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.4ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (1.3ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (1.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')   (2.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (1.5ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (1.4ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (2.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (4.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (4.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.8ms) INSERT INTO "users" ("name", "email", "admin", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Eu"], ["email", "admin@email.com"], ["admin", "t"], ["salt", "75tynZ7SUWWmMy84qCvN"], ["crypted_password", "$2a$10$LoN980vLYN6oWnd9HZVzMuMJHwj/RS8HYLUfl2G867E6aeQauMoNq"], ["created_at", "2015-03-20 02:57:49.796230"], ["updated_at", "2015-03-20 02:57:49.796230"]]  (12.5ms) commit transaction Started GET "/" for ::1 at 2015-03-19 23:58:05 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (57.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) Completed 200 OK in 349ms (Views: 346.8ms | ActiveRecord: 1.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:05 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:05 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:05 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 23:58:05 -0300 Started GET "/session/new" for ::1 at 2015-03-19 23:58:08 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 86ms (Views: 74.7ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:08 -0300 Started POST "/session" for ::1 at 2015-03-19 23:58:14 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"L4jTnKZjTF0WInQUz7BxuDFrX6jSaqz2OyQmEHM2fHe3VY8AOGLcLfyorkGe7qOu5bxNmNplPZSTNFxfj+roCw==", "user"=>{"username"=>"admin@email.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'admin@email.com' OR "users"."email" = 'admin@email.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.5ms) UPDATE "users" SET "last_login_at" = '2015-03-20 02:58:14.935553' WHERE "users"."id" = ? [["id", 1]] SQL (1.5ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:14.943122' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 170ms (ActiveRecord: 5.9ms) Started GET "/" for ::1 at 2015-03-19 23:58:14 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (5.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:14.990003' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 32.2ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:15 -0300 Started GET "/" for ::1 at 2015-03-19 23:58:30 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (54.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:30.827190' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 84ms (Views: 77.6ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 23:58:30 -0300 Started GET "/users" for ::1 at 2015-03-19 23:58:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:32.273421' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 69ms (Views: 61.6ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 23:58:32 -0300 Started GET "/roles" for ::1 at 2015-03-19 23:58:34 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (2.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (6.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:34.608495' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 248ms (Views: 238.8ms | ActiveRecord: 6.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 23:58:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:34 -0300 Started GET "/roles/new" for ::1 at 2015-03-19 23:58:35 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (44.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (85.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 02:58:35.646170' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 120ms (Views: 113.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-19 23:58:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-19 23:58:35 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-19 23:58:35 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-19 23:58:35 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.3ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) select sqlite_version(*)  (1.6ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id")  (1.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.7ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'  (1.9ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (1.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.0ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.2ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (1.3ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (2.7ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.7ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.8ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (2.2ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (2.3ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.4ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (2.7ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (1.8ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)   (2.8ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (1.7ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.4ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.4ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229')  (2.2ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) select sqlite_version(*)  (2.8ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id")  (2.3ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.0ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (2.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id")  (1.9ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (5.1ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.6ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (1.6ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id")  (3.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (2.4ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.8ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'   (3.2ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (1.8ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (2.3ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'   (1.9ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (2.8ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't')   (2.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (2.2ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (2.0ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'   (0.5ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'   (2.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (4.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (11.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (6.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181747')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011941')  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011942')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011944')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011945')  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011946')  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011947')  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150305011948')  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312181229') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage Groups"], ["controller", "curupira/groups"], ["created_at", "2015-03-20 03:09:05.002783"], ["updated_at", "2015-03-20 03:09:05.002783"]]  (3.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-03-20 03:09:05.021741"], ["updated_at", "2015-03-20 03:09:05.021741"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-03-20 03:09:05.028429"], ["id", 1]]  (2.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Groups"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Groups"], ["controller", "curupira/groups"], ["created_at", "2015-03-20 03:09:05.040830"], ["updated_at", "2015-03-20 03:09:05.040830"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-20 03:09:05.044995"], ["updated_at", "2015-03-20 03:09:05.044995"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-20 03:09:05.047997"], ["id", 2]]  (2.1ms) commit transaction Feature Load (0.3ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Groups"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-20 03:09:05.053971"], ["updated_at", "2015-03-20 03:09:05.053971"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-03-20 03:09:05.057115"], ["id", 3]]  (1.7ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Groups"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Groups"], ["controller", "curupira/groups"], ["created_at", "2015-03-20 03:09:05.061231"], ["updated_at", "2015-03-20 03:09:05.061231"]]  (149.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-20 03:09:05.212569"], ["updated_at", "2015-03-20 03:09:05.212569"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-20 03:09:05.216142"], ["id", 4]]  (1.6ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Group"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit Group"], ["controller", "curupira/groups"], ["created_at", "2015-03-20 03:09:05.220357"], ["updated_at", "2015-03-20 03:09:05.220357"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-20 03:09:05.224000"], ["updated_at", "2015-03-20 03:09:05.224000"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-20 03:09:05.226782"], ["id", 5]]  (1.5ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Groups"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-20 03:09:05.230565"], ["updated_at", "2015-03-20 03:09:05.230565"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-03-20 03:09:05.233704"], ["id", 6]]  (1.3ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Group"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-20 03:09:05.237606"], ["updated_at", "2015-03-20 03:09:05.237606"]]  (97.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-03-20 03:09:05.336593"], ["id", 7]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage Roles"], ["controller", "curupira/roles"], ["created_at", "2015-03-20 03:09:05.340086"], ["updated_at", "2015-03-20 03:09:05.340086"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-03-20 03:09:05.344043"], ["updated_at", "2015-03-20 03:09:05.344043"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-03-20 03:09:05.347613"], ["id", 8]]  (1.5ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Roles"], ["controller", "curupira/roles"], ["created_at", "2015-03-20 03:09:05.352565"], ["updated_at", "2015-03-20 03:09:05.352565"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-20 03:09:05.356116"], ["updated_at", "2015-03-20 03:09:05.356116"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-20 03:09:05.359386"], ["id", 9]]  (1.3ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-20 03:09:05.363234"], ["updated_at", "2015-03-20 03:09:05.363234"]]  (1.0ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-03-20 03:09:05.365804"], ["id", 10]]  (1.6ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Roles"], ["controller", "curupira/roles"], ["created_at", "2015-03-20 03:09:05.369762"], ["updated_at", "2015-03-20 03:09:05.369762"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-20 03:09:05.374123"], ["updated_at", "2015-03-20 03:09:05.374123"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-20 03:09:05.377368"], ["id", 11]]  (1.1ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Role"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit Role"], ["controller", "curupira/roles"], ["created_at", "2015-03-20 03:09:05.380763"], ["updated_at", "2015-03-20 03:09:05.380763"]]  (2.0ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-20 03:09:05.385892"], ["updated_at", "2015-03-20 03:09:05.385892"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-20 03:09:05.389264"], ["id", 12]]  (1.2ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-20 03:09:05.392801"], ["updated_at", "2015-03-20 03:09:05.392801"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-03-20 03:09:05.396239"], ["id", 13]]  (1.5ms) commit transaction Feature Load (0.3ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Role"]]  (0.2ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-20 03:09:05.402138"], ["updated_at", "2015-03-20 03:09:05.402138"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-03-20 03:09:05.405730"], ["id", 14]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage User"], ["controller", "curupira/users"], ["created_at", "2015-03-20 03:09:05.410119"], ["updated_at", "2015-03-20 03:09:05.410119"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-03-20 03:09:05.413801"], ["updated_at", "2015-03-20 03:09:05.413801"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-03-20 03:09:05.416674"], ["id", 15]]  (1.6ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Users"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Users"], ["controller", "curupira/users"], ["created_at", "2015-03-20 03:09:05.421335"], ["updated_at", "2015-03-20 03:09:05.421335"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-03-20 03:09:05.424989"], ["updated_at", "2015-03-20 03:09:05.424989"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-20 03:09:05.427832"], ["id", 16]]  (1.2ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Users"]]  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-03-20 03:09:05.431448"], ["updated_at", "2015-03-20 03:09:05.431448"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-03-20 03:09:05.435095"], ["id", 17]]  (1.4ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Users"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Users"], ["controller", "curupira/users"], ["created_at", "2015-03-20 03:09:05.438619"], ["updated_at", "2015-03-20 03:09:05.438619"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-03-20 03:09:05.442101"], ["updated_at", "2015-03-20 03:09:05.442101"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-20 03:09:05.445312"], ["id", 18]]  (1.2ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit User"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit User"], ["controller", "curupira/users"], ["created_at", "2015-03-20 03:09:05.448987"], ["updated_at", "2015-03-20 03:09:05.448987"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-03-20 03:09:05.452696"], ["updated_at", "2015-03-20 03:09:05.452696"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-20 03:09:05.456159"], ["id", 19]]  (1.8ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Users"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-03-20 03:09:05.460425"], ["updated_at", "2015-03-20 03:09:05.460425"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-03-20 03:09:05.463860"], ["id", 20]]  (1.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit User"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-03-20 03:09:05.468379"], ["updated_at", "2015-03-20 03:09:05.468379"]]  (1.2ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-03-20 03:09:05.471439"], ["id", 21]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "users" ("name", "email", "admin", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Eu"], ["email", "admin@email.com"], ["admin", "t"], ["salt", "CxvcRTFSE8AsY7DEMac8"], ["crypted_password", "$2a$10$d7irJhvnvoMmn7kwmBj3I.Tj4MShyXlUwIw95dnq3rBI3xjjGnG9a"], ["created_at", "2015-03-20 03:09:19.093413"], ["updated_at", "2015-03-20 03:09:19.093413"]]  (39.6ms) commit transaction Started GET "/roles/new" for ::1 at 2015-03-20 00:09:28 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#new as HTML User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (10.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (47.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (53.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:28.880933' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 177ms (Views: 98.7ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:09:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:09:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:09:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:09:28 -0300 Started GET "/roles/new" for ::1 at 2015-03-20 00:09:29 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (8.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (5.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:30.025970' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 31.1ms | ActiveRecord: 5.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:09:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:09:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:09:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:09:30 -0300 Started GET "/users" for ::1 at 2015-03-20 00:09:31 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (4.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:31.571654' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 32.7ms | ActiveRecord: 4.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:09:31 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:09:31 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:09:31 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:09:31 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:09:33 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:33.496146' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 29ms (Views: 24.6ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:09:33 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:09:33 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:09:33 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:09:33 -0300 Started GET "/roles/new" for ::1 at 2015-03-20 00:09:34 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (10.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (4.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:34.919387' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 36.6ms | ActiveRecord: 4.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:09:34 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:09:34 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:09:34 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:09:34 -0300 Started POST "/roles" for ::1 at 2015-03-20 00:09:48 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BvxIGqsB76GwG1tuibHsjq9p6qJ6jocB0ZSJ+MW+qCyeIRSGNQB/0VqRgTvY7z6Ye774knKBFmN5hPO3OWI8UA==", "role"=>{"name"=>"Gerenciar Perfis", "authorizations_attributes"=>{"1426820976107"=>{"feature_id"=>"5", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Gerenciar Perfis"]] SQL (0.2ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 5], ["role_id", 1], ["created_at", "2015-03-20 03:09:48.382370"], ["updated_at", "2015-03-20 03:09:48.382370"]]  (11.1ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:09:48.396290' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 23ms (ActiveRecord: 13.9ms) Started GET "/roles/1" for ::1 at 2015-03-20 00:09:48 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (35.0ms) Completed 500 Internal Server Error in 48ms ActionView::Template::Error (undefined method `feature_path' for #<#:0x007fdb3bbf8f38>): 14: 15:
    16: <% @role.features.each do |feature| %> 17:
  • <%= link_to feature.name, feature %>
  • 18: <% end %> 19:
20:
actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:268:in `handle_model_call' actionview (4.2.0) lib/action_view/routing_url_for.rb:113:in `url_for' actionview (4.2.0) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb:17:in `block in ___sers_paulomoura_projetos_curupira_app_views_curupira_roles_show_html_erb__2707021066855375963_70289788475060' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `each' /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb:16:in `___sers_paulomoura_projetos_curupira_app_views_curupira_roles_show_html_erb__2707021066855375963_70289788475060' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (63.7ms) Started GET "/roles/1" for ::1 at 2015-03-20 00:10:18 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (14.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (5.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:18.270549' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 38.4ms | ActiveRecord: 6.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:18 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:10:20 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:21.003196' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 35.6ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:21 -0300 Started GET "/groups" for ::1 at 2015-03-20 00:10:46 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:46.727090' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 42.3ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:46 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:46 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:46 -0300 Started GET "/groups/new" for ::1 at 2015-03-20 00:10:47 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (47.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (75.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.4ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:47.866848' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 121ms (Views: 109.2ms | ActiveRecord: 3.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:47 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:47 -0300 Started POST "/groups" for ::1 at 2015-03-20 00:10:53 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6zC+PB0OXAstiElqbq5Z95fdnr3+5Ob9ohntRw1mJMTcZ5kbnWpAMY8+3D45GtxCohkSv/0AvlemB364OkM7w==", "group"=>{"name"=>"COSANPA", "active"=>"1", "role_groups_attributes"=>{"1426821051704"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "COSANPA"], ["active", "t"], ["created_at", "2015-03-20 03:10:53.818937"], ["updated_at", "2015-03-20 03:10:53.818937"]] SQL (0.2ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 1], ["created_at", "2015-03-20 03:10:53.820952"], ["updated_at", "2015-03-20 03:10:53.820952"]]  (2.8ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:53.827211' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 15ms (ActiveRecord: 5.4ms) Started GET "/groups/1" for ::1 at 2015-03-20 00:10:53 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (8.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:53.882169' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 40.8ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:53 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:53 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:53 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:53 -0300 Started GET "/users" for ::1 at 2015-03-20 00:10:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:55.660287' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 35ms (Views: 29.4ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:55 -0300 Started GET "/users/new" for ::1 at 2015-03-20 00:10:56 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (23.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (47.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (88.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:10:57.061101' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 122ms (Views: 115.7ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:10:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:10:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:10:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:10:57 -0300 Started POST "/users" for ::1 at 2015-03-20 00:11:07 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ebSPA7RYlsBvPkzqRpDScgTo/t8CY8jMDb7RpSzybcnhadOfKlkGsIW0lr8XzgBk0D/s7wpsWa6lrqvq0C75tQ==", "user"=>{"email"=>"paulociecomp@gmail.com", "name"=>"Eu", "username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1426821063198"=>{"group_id"=>"1", "role_group_users_attributes"=>{"1426821065069"=>{"role_id"=>"1", "_destroy"=>"false"}}, "_destroy"=>"false"}}}, "commit"=>"Create User"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: _destroy Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("email", "name", "username", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "paulociecomp@gmail.com"], ["name", "Eu"], ["username", "paulociecomp@gmail.com"], ["salt", "vpMHXLpHtN3DsNSynbcC"], ["crypted_password", "$2a$10$3WWioylXJXVzCpZc3n7bAOvrwxTQBeiXjn.lshB1KJyQwzdeqCITS"], ["created_at", "2015-03-20 03:11:08.123239"], ["updated_at", "2015-03-20 03:11:08.123239"]] SQL (0.2ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 2], ["created_at", "2015-03-20 03:11:08.125359"], ["updated_at", "2015-03-20 03:11:08.125359"]] SQL (0.2ms) INSERT INTO "role_group_users" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 1], ["created_at", "2015-03-20 03:11:08.126615"], ["updated_at", "2015-03-20 03:11:08.126615"]]  (7.3ms) commit transaction Redirected to http://localhost:3000/users/2 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:08.136344' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 170ms (ActiveRecord: 10.2ms) Started GET "/users/2" for ::1 at 2015-03-20 00:11:08 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:08.198293' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 46.0ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:08 -0300 Started GET "/session" for ::1 at 2015-03-20 00:11:09 -0300 Processing by Curupira::SessionsController#destroy as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] SQL (1.5ms) UPDATE "users" SET "last_logout_at" = '2015-03-20 03:11:09.998873' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/session/new Completed 302 Found in 7ms (ActiveRecord: 1.9ms) Started GET "/session/new" for ::1 at 2015-03-20 00:11:10 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.1ms) Completed 200 OK in 35ms (Views: 34.2ms | ActiveRecord: 0.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:10 -0300 Started POST "/session" for ::1 at 2015-03-20 00:11:11 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"mHqWuNxNDZjMuBS+foGlR5ZU2gsOU1/+OmtATJcuh23baE1JJI50mx/hshqErIpWPiONFLTC/2n94VxLOZCZ8g==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (14.6ms) UPDATE "users" SET "last_login_at" = '2015-03-20 03:11:11.694772' WHERE "users"."id" = ? [["id", 2]] SQL (1.6ms) UPDATE "users" SET "last_login_from_ip_address" = '::1' WHERE "users"."id" = ? [["id", 2]] Redirected to http://localhost:3000/ SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:11.714174' WHERE "users"."id" = ? [["id", 2]] Completed 302 Found in 175ms (ActiveRecord: 18.1ms) Started GET "/" for ::1 at 2015-03-20 00:11:11 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (17.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:11.778340' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 51ms (Views: 46.6ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:11 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:11:13 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:13.281565' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 33ms (Views: 27.9ms | ActiveRecord: 1.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:13 -0300 Started GET "/roles/1/edit" for ::1 at 2015-03-20 00:11:24 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 5]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (3.9ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (2.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (17.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (20.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:24.339319' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 54ms (Views: 47.6ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:24 -0300 Started PATCH "/roles/1" for ::1 at 2015-03-20 00:11:26 -0300 Processing by Curupira::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"i+m9XScjzs8Zpbbrp+onVDVVC8tX8FoNRM21yNaK/kLI+2as3+C3zMr8EE9dxwhFnSJc1O1h+pqDR6nPeDTg3Q==", "role"=>{"name"=>"Gerenciar Perfis", "authorizations_attributes"=>{"0"=>{"feature_id"=>"5", "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update Role", "id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? AND "authorizations"."id" = 1 [["role_id", 1]]  (0.2ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:26.184897' WHERE "users"."id" = ? [["id", 2]] Completed 302 Found in 11ms (ActiveRecord: 3.0ms) Started GET "/roles/1" for ::1 at 2015-03-20 00:11:26 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.1ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? AND "group_users"."group_id" = ? [["role_id", 1], ["group_id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:26.242850' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 50ms (Views: 44.6ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:26 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:26 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:26 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:26 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:11:28 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:11:28.199968' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 36ms (Views: 30.9ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:11:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:11:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:11:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:11:28 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:12:27 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (6.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (5.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:12:28.033837' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 77ms (Views: 38.7ms | ActiveRecord: 6.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:12:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:12:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:12:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:12:28 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:12:29 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:12:29.500640' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 33ms (Views: 27.8ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:12:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:12:29 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:12:29 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:12:29 -0300 Started GET "/users" for ::1 at 2015-03-20 00:12:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] SQL (0.4ms) SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."name" AS t0_r2, "users"."active" AS t0_r3, "users"."username" AS t0_r4, "users"."crypted_password" AS t0_r5, "users"."salt" AS t0_r6, "users"."reset_password_token" AS t0_r7, "users"."reset_password_token_expires_at" AS t0_r8, "users"."reset_password_email_sent_at" AS t0_r9, "users"."last_login_at" AS t0_r10, "users"."last_logout_at" AS t0_r11, "users"."last_activity_at" AS t0_r12, "users"."last_login_from_ip_address" AS t0_r13, "users"."admin" AS t0_r14, "users"."created_at" AS t0_r15, "users"."updated_at" AS t0_r16, "group_users"."id" AS t1_r0, "group_users"."group_id" AS t1_r1, "group_users"."user_id" AS t1_r2, "group_users"."active" AS t1_r3, "group_users"."created_at" AS t1_r4, "group_users"."updated_at" AS t1_r5, "groups"."id" AS t2_r0, "groups"."name" AS t2_r1, "groups"."active" AS t2_r2, "groups"."created_at" AS t2_r3, "groups"."updated_at" AS t2_r4 FROM "users" LEFT OUTER JOIN "group_users" ON "group_users"."user_id" = "users"."id" LEFT OUTER JOIN "groups" ON "groups"."id" = "group_users"."group_id" WHERE "groups"."id" IN (SELECT "groups"."id" FROM "groups" INNER JOIN "group_users" ON "groups"."id" = "group_users"."group_id" WHERE "group_users"."user_id" = ?) [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (13.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:12:32.371118' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 68ms (Views: 45.8ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:12:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:12:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:12:32 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:12:32 -0300 Started GET "/users" for ::1 at 2015-03-20 00:13:10 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/users' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 55ms (ActiveRecord: 2.0ms) Started GET "/" for ::1 at 2015-03-20 00:13:10 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:10.719075' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 39ms (Views: 35.1ms | ActiveRecord: 2.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:10 -0300 Started GET "/users" for ::1 at 2015-03-20 00:13:12 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/users' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/" for ::1 at 2015-03-20 00:13:12 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:12.572739' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 34ms (Views: 29.9ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:12 -0300 Started GET "/groups" for ::1 at 2015-03-20 00:13:13 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/groups' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET "/" for ::1 at 2015-03-20 00:13:13 -0300 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:13.295667' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 31ms (Views: 26.8ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:13 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:13:14 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (4.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:14.247714' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 48ms (Views: 33.4ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:14 -0300 Started GET "/roles/1/edit" for ::1 at 2015-03-20 00:13:15 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.7ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('edit', 'manage') AND "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 5]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (6.8ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (21.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (24.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:15.902231' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 63ms (Views: 53.1ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:15 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:15 -0300 Started PATCH "/roles/1" for ::1 at 2015-03-20 00:13:18 -0300 Processing by Curupira::RolesController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cPVyQLB13HhIu0nqHPBvZhi9dMdvM+Ck10F6gXM2G00z56mxSLale5vi707m3UB3sMoj2NWiQDMQy2aG3YgF0g==", "role"=>{"name"=>"Gerenciar Perfis", "authorizations_attributes"=>{"0"=>{"feature_id"=>"5", "_destroy"=>"false", "id"=>"1"}}}, "commit"=>"Update Role", "id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('update', 'manage') AND "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction Authorization Load (0.2ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? AND "authorizations"."id" = 1 [["role_id", 1]]  (0.1ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:18.068505' WHERE "users"."id" = ? [["id", 2]] Completed 302 Found in 34ms (ActiveRecord: 3.7ms) Started GET "/roles/1" for ::1 at 2015-03-20 00:13:18 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('show', 'manage') AND "users"."id" = 2 Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.5ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? AND "group_users"."group_id" = ? [["role_id", 1], ["group_id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (25.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:18.139419' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 58ms (Views: 48.6ms | ActiveRecord: 5.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:18 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:13:19 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:19.781041' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:19 -0300 Started GET "/groups" for ::1 at 2015-03-20 00:13:21 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/groups' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Redirected to http://localhost:3000/ Filter chain halted as :authorize rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/" for ::1 at 2015-03-20 00:13:21 -0300 Processing by HomeController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 2 Rendered home/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:21.231883' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 33ms (Views: 28.5ms | ActiveRecord: 2.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:21 -0300 Started GET "/roles" for ::1 at 2015-03-20 00:13:27 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'curupira/roles' AND "action_labels"."name" IN ('index', 'manage') AND "users"."id" = 2 Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-20 03:13:27.416442' WHERE "users"."id" = ? [["id", 2]] Completed 200 OK in 36ms (Views: 28.6ms | ActiveRecord: 2.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-03-20 00:13:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-03-20 00:13:27 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-03-20 00:13:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-03-20 00:13:27 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.3ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150330191958)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191958"]]  (1.2ms) commit transaction Migrating to CreateAuthorizations (20150330191959)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191959"]]  (1.2ms) commit transaction Migrating to CreateFeatures (20150330191960)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150330191960_create_features.rb:8)  (0.5ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191960"]]  (1.3ms) commit transaction Migrating to CreateGroups (20150330191961)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191961"]]  (1.3ms) commit transaction Migrating to CreateRoles (20150330191962)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191962"]]  (1.4ms) commit transaction Migrating to SorceryCore (20150330191963)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150330191963_sorcery_core.rb:19)  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (0.5ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.1ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.2ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191963"]]  (2.5ms) commit transaction Migrating to CreateGroupUsers (20150330191964)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191964"]]  (1.2ms) commit transaction Migrating to CreateRoleGroups (20150330191965)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.2ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191965"]]  (1.3ms) commit transaction Migrating to CreateActionLabels (20150330191966)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150330191966"]]  (1.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  Started GET "/" for 127.0.0.1 at 2015-03-31 15:07:45 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::PendingMigrationError ( Migrations are pending. To resolve this issue, run: bin/rake db:migrate RAILS_ENV=development ): activerecord (4.2.0) lib/active_record/migration.rb:393:in `check_pending!' activerecord (4.2.0) lib/active_record/migration.rb:374:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (73.6ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQLite3::SQLException: table "role_group_users" already exists: CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) rollback transaction  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateRoleGroupUsers (20150305011941)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_role_group_users_on_role_id" ON "role_group_users" ("role_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'  (0.1ms) CREATE INDEX "index_role_group_users_on_group_user_id" ON "role_group_users" ("group_user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011941"]]  (1.4ms) commit transaction Migrating to CreateAuthorizations (20150305011942)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "authorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "feature_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_authorizations_on_feature_id" ON "authorizations" ("feature_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) CREATE INDEX "index_authorizations_on_role_id" ON "authorizations" ("role_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011942"]]  (1.4ms) commit transaction Migrating to CreateGroups (20150305011944)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011944"]]  (1.4ms) commit transaction Migrating to CreateRoles (20150305011945)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't') SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011945"]]  (2.3ms) commit transaction Migrating to SorceryCore (20150305011946)  (0.1ms) begin transaction DEPRECATION WARNING: `#timestamp` 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 /Users/paulomoura/projetos/curupira/spec/dummy/db/migrate/20150305011946_sorcery_core.rb:19)  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar NOT NULL, "name" varchar NOT NULL, "active" boolean DEFAULT 't', "username" varchar, "crypted_password" varchar, "salt" varchar, "reset_password_token" varchar, "reset_password_token_expires_at" datetime, "reset_password_email_sent_at" datetime, "last_login_at" datetime, "last_logout_at" datetime, "last_activity_at" datetime, "last_login_from_ip_address" varchar, "admin" boolean DEFAULT 'f', "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'  (0.2ms) CREATE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_logout_at" ON "users" ("last_logout_at")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) CREATE INDEX "index_users_on_last_activity_at" ON "users" ("last_activity_at") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011946"]]  (1.9ms) commit transaction Migrating to CreateGroupUsers (20150305011947)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "group_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "user_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE INDEX "index_group_users_on_group_id" ON "group_users" ("group_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'  (0.1ms) CREATE INDEX "index_group_users_on_user_id" ON "group_users" ("user_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011947"]]  (1.3ms) commit transaction Migrating to CreateRoleGroups (20150305011948)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "role_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "role_id" integer, "group_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE INDEX "index_role_groups_on_role_id" ON "role_groups" ("role_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) CREATE INDEX "index_role_groups_on_group_id" ON "role_groups" ("group_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150305011948"]]  (1.5ms) commit transaction Migrating to CreateActionLabels (20150312181229)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "action_labels" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "feature_id" integer, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE INDEX "index_action_labels_on_feature_id" ON "action_labels" ("feature_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181229"]]  (1.7ms) commit transaction Migrating to CreateFeatures (20150312181747)  (0.1ms) begin transaction  (0.6ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "controller" varchar, "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150312181747"]]  (1.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_action_labels_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_action_labels_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_role_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_authorizations_on_feature_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_authorizations_on_feature_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_group_users_on_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_group_users_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_group_users_on_group_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_group_user_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_group_user_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_role_group_users_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_group_users_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_group_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_group_id' AND type='index'  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_role_groups_on_role_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_role_groups_on_role_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_last_activity_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_activity_at' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_last_logout_at' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_last_logout_at' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_users_on_reset_password_token' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_reset_password_token' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_users_on_username' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_username' AND type='index'   (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "users" ("name", "email", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "eu"], ["email", "paulociecomp@gmail.com"], ["salt", "xzBYwm9dqwy6cqVfnbqH"], ["crypted_password", "$2a$10$PcaL.Wt6F6M6hzMcbKeVBe8LklTArv7.NRq6NmmgLPm3vZcI0M.oW"], ["created_at", "2015-03-31 18:10:35.940526"], ["updated_at", "2015-03-31 18:10:35.940526"]]  (1.6ms) commit transaction User Load (0.4ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1  (0.1ms) begin transaction SQL (0.4ms) UPDATE "users" SET "admin" = ?, "updated_at" = ? WHERE "users"."id" = ? [["admin", "t"], ["updated_at", "2015-03-31 18:11:02.068464"], ["id", 1]]  (1.1ms) commit transaction Started GET "/" for 127.0.0.1 at 2015-03-31 15:11:23 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (197.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) Completed 200 OK in 434ms (Views: 431.6ms | ActiveRecord: 2.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:23 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-31 15:11:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:23 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-03-31 15:11:26 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb (27.3ms) Completed 200 OK in 54ms (Views: 42.0ms | ActiveRecord: 0.0ms) Started POST "/session" for 127.0.0.1 at 2015-03-31 15:11:29 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"XsmgSOOmjBkDT+utCTKQl594u6YQniMVLYjryqN0PFNNnF87pCSoYNU0WWpdSov0TinR9RLHY6AZ/9dvCut7AQ==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (1.4ms) UPDATE "users" SET "last_login_at" = '2015-03-31 18:11:29.637340' WHERE "users"."id" = ? [["id", 1]] SQL (1.2ms) UPDATE "users" SET "last_login_from_ip_address" = '127.0.0.1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-31 18:11:29.643089' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 169ms (ActiveRecord: 5.7ms) Started GET "/" for 127.0.0.1 at 2015-03-31 15:11:29 -0300 Processing by HomeController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.5ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (6.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-03-31 18:11:29.698663' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 39.2ms | ActiveRecord: 2.6ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:29 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:29 -0300 Started GET "/roles" for 127.0.0.1 at 2015-03-31 15:11:34 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-03-31 18:11:35.060244' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 54ms (Views: 49.1ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:35 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:35 -0300 Started GET "/roles/new" for 127.0.0.1 at 2015-03-31 15:11:37 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (37.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (153.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (204.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-03-31 18:11:37.329045' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 263ms (Views: 255.5ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-31 15:11:37 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/roles/new" for 127.0.0.1 at 2015-03-31 15:12:09 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#new as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (56.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (61.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (34.6ms) UPDATE "users" SET "last_activity_at" = '2015-03-31 18:12:09.527679' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 232ms (Views: 125.5ms | ActiveRecord: 37.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-03-31 15:12:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-03-31 15:12:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-03-31 15:12:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-03-31 15:12:09 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Started GET "/" for 127.0.0.1 at 2015-04-01 15:02:13 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (43.0ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (367.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 789ms (Views: 744.9ms | ActiveRecord: 44.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:02:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:02:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:02:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:02:14 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-04-01 15:02:16 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb (74.4ms) Completed 200 OK in 110ms (Views: 99.5ms | ActiveRecord: 0.0ms) Started POST "/session" for 127.0.0.1 at 2015-04-01 15:02:19 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"Zu/EGDcVGc/TyisNFcxJvEKz0VhnUpM+xdYWzDJRIh258l3zSUdcmK1dSHFd1N93RVq7jVJ95cJYzZBzkhXqyg==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (16.0ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (2.3ms) UPDATE "users" SET "last_login_at" = '2015-04-01 18:02:20.007558' WHERE "users"."id" = ? [["id", 1]] SQL (1.4ms) UPDATE "users" SET "last_login_from_ip_address" = '127.0.0.1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:20.015938' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 201ms (ActiveRecord: 21.6ms) Started GET "/" for 127.0.0.1 at 2015-04-01 15:02:20 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:20.064216' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 40ms (Views: 33.5ms | ActiveRecord: 2.8ms) Started GET "/groups" for 127.0.0.1 at 2015-04-01 15:02:24 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (15.0ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (17.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:24.320028' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 130ms (Views: 74.4ms | ActiveRecord: 17.7ms) Started GET "/users" for 127.0.0.1 at 2015-04-01 15:02:25 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:25.533772' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 61ms (Views: 56.4ms | ActiveRecord: 2.9ms) Started GET "/users/1" for 127.0.0.1 at 2015-04-01 15:02:52 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (31.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:52.881977' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 97ms (Views: 89.3ms | ActiveRecord: 3.4ms) Started GET "/users/1/edit" for 127.0.0.1 at 2015-04-01 15:02:55 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (17.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (133.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (151.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:02:56.117650' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 210ms (Views: 203.1ms | ActiveRecord: 2.8ms) Started GET "/users" for 127.0.0.1 at 2015-04-01 15:03:00 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (27.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:00.623305' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 63ms (Views: 32.1ms | ActiveRecord: 27.8ms) Started GET "/users/1/edit" for 127.0.0.1 at 2015-04-01 15:03:01 -0300 Processing by Curupira::UsersController#edit as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (7.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/edit.html.erb within layouts/application (11.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (41.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:01.941147' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 86ms (Views: 40.4ms | ActiveRecord: 42.3ms) Started GET "/groups" for 127.0.0.1 at 2015-04-01 15:03:03 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (27.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:03.533916' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 68ms (Views: 36.9ms | ActiveRecord: 28.1ms) Started GET "/users" for 127.0.0.1 at 2015-04-01 15:03:05 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (27.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:05.689402' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 63ms (Views: 31.4ms | ActiveRecord: 28.2ms) Started GET "/users/1" for 127.0.0.1 at 2015-04-01 15:03:06 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (22.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:06.883842' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 28.9ms | ActiveRecord: 22.3ms) Started GET "/users" for 127.0.0.1 at 2015-04-01 15:03:22 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (6.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:23.016304' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 33.6ms | ActiveRecord: 7.3ms) Started GET "/users/new" for 127.0.0.1 at 2015-04-01 15:03:24 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (44.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (50.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:24.125751' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 114ms (Views: 107.2ms | ActiveRecord: 2.5ms) Started GET "/groups" for 127.0.0.1 at 2015-04-01 15:03:43 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (3.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:44.014659' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 33.2ms | ActiveRecord: 3.9ms) Started GET "/groups/new" for 127.0.0.1 at 2015-04-01 15:03:45 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (11.5ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (15.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (70.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (102.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (6.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:45.321081' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 176ms (Views: 147.3ms | ActiveRecord: 19.9ms) Started GET "/roles" for 127.0.0.1 at 2015-04-01 15:03:47 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:47.277740' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 66ms (Views: 60.2ms | ActiveRecord: 2.3ms) Started GET "/roles/new" for 127.0.0.1 at 2015-04-01 15:03:48 -0300 Processing by Curupira::RolesController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (12.7ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (15.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (38.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (55.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (7.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:03:48.899838' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 129ms (Views: 103.4ms | ActiveRecord: 20.7ms) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage Groups"], ["controller", "curupira/groups"], ["created_at", "2015-04-01 18:05:24.866541"], ["updated_at", "2015-04-01 18:05:24.866541"]]  (1.1ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-04-01 18:05:24.888905"], ["updated_at", "2015-04-01 18:05:24.888905"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 1], ["updated_at", "2015-04-01 18:05:24.897463"], ["id", 1]]  (1.6ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Groups"]]  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Groups"], ["controller", "curupira/groups"], ["created_at", "2015-04-01 18:05:24.909113"], ["updated_at", "2015-04-01 18:05:24.909113"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-04-01 18:05:24.912850"], ["updated_at", "2015-04-01 18:05:24.912850"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-04-01 18:05:24.916610"], ["id", 2]]  (1.3ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Groups"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-04-01 18:05:24.920747"], ["updated_at", "2015-04-01 18:05:24.920747"]]  (1.4ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 2], ["updated_at", "2015-04-01 18:05:24.923635"], ["id", 3]]  (1.5ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Groups"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Groups"], ["controller", "curupira/groups"], ["created_at", "2015-04-01 18:05:24.927272"], ["updated_at", "2015-04-01 18:05:24.927272"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-04-01 18:05:24.930547"], ["updated_at", "2015-04-01 18:05:24.930547"]]  (2.3ms) commit transaction  (0.3ms) begin transaction SQL (0.6ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-04-01 18:05:24.935581"], ["id", 4]]  (1.8ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Group"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit Group"], ["controller", "curupira/groups"], ["created_at", "2015-04-01 18:05:24.940321"], ["updated_at", "2015-04-01 18:05:24.940321"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-04-01 18:05:24.943855"], ["updated_at", "2015-04-01 18:05:24.943855"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-04-01 18:05:24.947595"], ["id", 5]]  (1.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Groups"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-04-01 18:05:24.952612"], ["updated_at", "2015-04-01 18:05:24.952612"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 3], ["updated_at", "2015-04-01 18:05:24.956372"], ["id", 6]]  (1.7ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Group"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-04-01 18:05:24.960670"], ["updated_at", "2015-04-01 18:05:24.960670"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 4], ["updated_at", "2015-04-01 18:05:24.965254"], ["id", 7]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "translation missing: en.curupira.features.curupira/permissions.manage"], ["controller", "curupira/permissions"], ["created_at", "2015-04-01 18:05:24.970683"], ["updated_at", "2015-04-01 18:05:24.970683"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-04-01 18:05:24.974208"], ["updated_at", "2015-04-01 18:05:24.974208"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 5], ["updated_at", "2015-04-01 18:05:24.978022"], ["id", 8]]  (1.4ms) commit transaction Feature Load (0.3ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "translation missing: en.curupira.features.curupira/permissions.create"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "translation missing: en.curupira.features.curupira/permissions.create"], ["controller", "curupira/permissions"], ["created_at", "2015-04-01 18:05:24.983027"], ["updated_at", "2015-04-01 18:05:24.983027"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-04-01 18:05:24.987171"], ["updated_at", "2015-04-01 18:05:24.987171"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 6], ["updated_at", "2015-04-01 18:05:24.990878"], ["id", 9]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage Roles"], ["controller", "curupira/roles"], ["created_at", "2015-04-01 18:05:24.994563"], ["updated_at", "2015-04-01 18:05:24.994563"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-04-01 18:05:24.998621"], ["updated_at", "2015-04-01 18:05:24.998621"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 7], ["updated_at", "2015-04-01 18:05:25.002450"], ["id", 10]]  (1.4ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Roles"], ["controller", "curupira/roles"], ["created_at", "2015-04-01 18:05:25.007093"], ["updated_at", "2015-04-01 18:05:25.007093"]]  (1.7ms) commit transaction  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-04-01 18:05:25.011933"], ["updated_at", "2015-04-01 18:05:25.011933"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-04-01 18:05:25.015966"], ["id", 11]]  (1.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Roles"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-04-01 18:05:25.021088"], ["updated_at", "2015-04-01 18:05:25.021088"]]  (2.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 8], ["updated_at", "2015-04-01 18:05:25.025248"], ["id", 12]]  (2.4ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Roles"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Roles"], ["controller", "curupira/roles"], ["created_at", "2015-04-01 18:05:25.030193"], ["updated_at", "2015-04-01 18:05:25.030193"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-04-01 18:05:25.047980"], ["updated_at", "2015-04-01 18:05:25.047980"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-04-01 18:05:25.052137"], ["id", 13]]  (1.3ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Role"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit Role"], ["controller", "curupira/roles"], ["created_at", "2015-04-01 18:05:25.056128"], ["updated_at", "2015-04-01 18:05:25.056128"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-04-01 18:05:25.060386"], ["updated_at", "2015-04-01 18:05:25.060386"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-04-01 18:05:25.063906"], ["id", 14]]  (1.6ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Roles"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-04-01 18:05:25.068788"], ["updated_at", "2015-04-01 18:05:25.068788"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 9], ["updated_at", "2015-04-01 18:05:25.072595"], ["id", 15]]  (2.0ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit Role"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-04-01 18:05:25.077116"], ["updated_at", "2015-04-01 18:05:25.077116"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 10], ["updated_at", "2015-04-01 18:05:25.081762"], ["id", 16]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Manage User"], ["controller", "curupira/users"], ["created_at", "2015-04-01 18:05:25.087157"], ["updated_at", "2015-04-01 18:05:25.087157"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "manage"], ["created_at", "2015-04-01 18:05:25.091729"], ["updated_at", "2015-04-01 18:05:25.091729"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 11], ["updated_at", "2015-04-01 18:05:25.095041"], ["id", 17]]  (1.8ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Users"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Show Users"], ["controller", "curupira/users"], ["created_at", "2015-04-01 18:05:25.100895"], ["updated_at", "2015-04-01 18:05:25.100895"]]  (1.5ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "index"], ["created_at", "2015-04-01 18:05:25.105248"], ["updated_at", "2015-04-01 18:05:25.105248"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-04-01 18:05:25.109736"], ["id", 18]]  (1.7ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Show Users"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "show"], ["created_at", "2015-04-01 18:05:25.113840"], ["updated_at", "2015-04-01 18:05:25.113840"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 12], ["updated_at", "2015-04-01 18:05:25.117957"], ["id", 19]]  (1.6ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Users"]]  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Create Users"], ["controller", "curupira/users"], ["created_at", "2015-04-01 18:05:25.121800"], ["updated_at", "2015-04-01 18:05:25.121800"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "new"], ["created_at", "2015-04-01 18:05:25.125407"], ["updated_at", "2015-04-01 18:05:25.125407"]]  (2.1ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-04-01 18:05:25.129709"], ["id", 20]]  (1.7ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit User"]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Edit User"], ["controller", "curupira/users"], ["created_at", "2015-04-01 18:05:25.133760"], ["updated_at", "2015-04-01 18:05:25.133760"]]  (1.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "edit"], ["created_at", "2015-04-01 18:05:25.138961"], ["updated_at", "2015-04-01 18:05:25.138961"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-04-01 18:05:25.142630"], ["id", 21]]  (3.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Create Users"]]  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "create"], ["created_at", "2015-04-01 18:05:25.148797"], ["updated_at", "2015-04-01 18:05:25.148797"]]  (2.0ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 13], ["updated_at", "2015-04-01 18:05:25.153293"], ["id", 22]]  (1.5ms) commit transaction Feature Load (0.2ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Edit User"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "update"], ["created_at", "2015-04-01 18:05:25.157265"], ["updated_at", "2015-04-01 18:05:25.157265"]]  (1.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 14], ["updated_at", "2015-04-01 18:05:25.160710"], ["id", 23]]  (2.4ms) commit transaction Feature Load (0.1ms) SELECT "features".* FROM "features" WHERE "features"."name" = ? LIMIT 1 [["name", "Other: permission"]]  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "features" ("name", "controller", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Other: permission"], ["controller", "curupira/users"], ["created_at", "2015-04-01 18:05:25.165488"], ["updated_at", "2015-04-01 18:05:25.165488"]]  (1.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "action_labels" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "permission"], ["created_at", "2015-04-01 18:05:25.169655"], ["updated_at", "2015-04-01 18:05:25.169655"]]  (2.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) UPDATE "action_labels" SET "feature_id" = ?, "updated_at" = ? WHERE "action_labels"."id" = ? [["feature_id", 15], ["updated_at", "2015-04-01 18:05:25.174255"], ["id", 24]]  (2.5ms) commit transaction Started GET "/roles/new" for 127.0.0.1 at 2015-04-01 15:05:39 -0300 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::RolesController#new as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (13.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (52.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/new.html.erb within layouts/application (60.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (4.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:05:39.323342' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 205ms (Views: 123.8ms | ActiveRecord: 6.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:05:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:05:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:05:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:05:39 -0300 Started POST "/roles" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Processing by Curupira::RolesController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YYp/tM0Hgc4eF4DH+xS+spkgYSreZYHVIc7kuhshKLG+l+Zfs1XEmWCA47uzDCh5nskL/+tK9ym81WIFu2XgZg==", "role"=>{"name"=>"Gerente de Grupos", "authorizations_attributes"=>{"1427911540758"=>{"feature_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.2ms) begin transaction SQL (0.4ms) INSERT INTO "roles" ("name") VALUES (?) [["name", "Gerente de Grupos"]] SQL (0.3ms) INSERT INTO "authorizations" ("feature_id", "role_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["feature_id", 1], ["role_id", 1], ["created_at", "2015-04-01 18:15:16.760050"], ["updated_at", "2015-04-01 18:15:16.760050"]]  (1.7ms) commit transaction Redirected to http://localhost:3000/roles/1 SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:16.764424' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 13ms (ActiveRecord: 4.3ms) Started GET "/roles/1" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Processing by Curupira::RolesController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (2.8ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.2ms) SELECT "features".* FROM "features" INNER JOIN "authorizations" ON "features"."id" = "authorizations"."feature_id" WHERE "authorizations"."role_id" = ? [["role_id", 1]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" INNER JOIN "role_group_users" ON "group_users"."id" = "role_group_users"."group_user_id" WHERE "role_group_users"."role_id" = ? GROUP BY group_id [["role_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/show.html.erb within layouts/application (51.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:16.886613' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 101ms (Views: 91.9ms | ActiveRecord: 5.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:16 -0300 Started GET "/roles/1/edit" for 127.0.0.1 at 2015-04-01 15:15:19 -0300 Processing by Curupira::RolesController#edit as HTML Parameters: {"id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Authorization Load (0.3ms) SELECT "authorizations".* FROM "authorizations" WHERE "authorizations"."role_id" = ? [["role_id", 1]] Feature Load (0.3ms) SELECT "features".* FROM "features" WHERE "features"."id" = ? LIMIT 1 [["id", 1]] Feature Load (0.4ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (6.6ms) CACHE (0.0ms) SELECT "features".* FROM "features" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_authorization_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/_form.html.erb (53.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/edit.html.erb within layouts/application (57.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:19.285356' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 127ms (Views: 119.1ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:19 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:19 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:19 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:19 -0300 Started GET "/roles" for 127.0.0.1 at 2015-04-01 15:15:37 -0300 Processing by Curupira::RolesController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/roles/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (4.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:37.863867' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 35.2ms | ActiveRecord: 5.1ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:37 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:37 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:37 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:37 -0300 Started GET "/groups" for 127.0.0.1 at 2015-04-01 15:15:44 -0300 Processing by Curupira::GroupsController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/index.html.erb within layouts/application (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (5.4ms) SQL (15.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:44.763088' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 39.3ms | ActiveRecord: 15.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:44 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:44 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:44 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:44 -0300 Started GET "/groups/new" for 127.0.0.1 at 2015-04-01 15:15:45 -0300 Processing by Curupira::GroupsController#new as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_role_group_fields.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/_form.html.erb (19.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/new.html.erb within layouts/application (22.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:45.928192' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 72ms (Views: 61.4ms | ActiveRecord: 3.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:45 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:45 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:45 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:46 -0300 Started POST "/groups" for 127.0.0.1 at 2015-04-01 15:15:57 -0300 Processing by Curupira::GroupsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"JcESRhlbfIMuxy90fnxzWIScBK8Z4lTKQhOa8PluWd763IutZwk51FBQTAg2ZOWTg3VueizNIjbfCBxPWSqRCQ==", "group"=>{"name"=>"Gerentes", "active"=>"1", "role_groups_attributes"=>{"1427912154309"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Group"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "groups" ("name", "active", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Gerentes"], ["active", "t"], ["created_at", "2015-04-01 18:15:57.813536"], ["updated_at", "2015-04-01 18:15:57.813536"]] SQL (0.3ms) INSERT INTO "role_groups" ("role_id", "group_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_id", 1], ["created_at", "2015-04-01 18:15:57.815506"], ["updated_at", "2015-04-01 18:15:57.815506"]]  (1.9ms) commit transaction Redirected to http://localhost:3000/groups/1 SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:57.821085' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 14ms (ActiveRecord: 4.5ms) Started GET "/groups/1" for 127.0.0.1 at 2015-04-01 15:15:57 -0300 Processing by Curupira::GroupsController#show as HTML Parameters: {"id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroup Load (0.2ms) SELECT "role_groups".* FROM "role_groups" WHERE "role_groups"."group_id" = ? [["group_id", 1]] Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."group_id" = ? [["group_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/groups/show.html.erb within layouts/application (6.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:15:57.939049' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 76ms (Views: 68.7ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:15:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:15:58 -0300 Started GET "/users" for 127.0.0.1 at 2015-04-01 15:16:01 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:01.670347' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 42ms (Views: 35.4ms | ActiveRecord: 2.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:01 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:01 -0300 Started GET "/users/new" for 127.0.0.1 at 2015-04-01 15:16:04 -0300 Processing by Curupira::UsersController#new as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_group_user_fields.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_form.html.erb (16.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/new.html.erb within layouts/application (19.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (2.3ms) SQL (4.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:04.379397' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 64ms (Views: 56.5ms | ActiveRecord: 4.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:04 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:04 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:04 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:04 -0300 Started POST "/users" for 127.0.0.1 at 2015-04-01 15:16:19 -0300 Processing by Curupira::UsersController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"YD8QM0Gd5I//7P7OPheY9ODJbYui7I004n0jivGwp9m/IonYP8+h2IF7nbJ2Dw4/5yAHXpfD+8h/ZqU1UfRvDg==", "user"=>{"email"=>"fulano@email.com", "name"=>"Fulano de Tal", "username"=>"fulano", "password"=>"[FILTERED]", "active"=>"1", "group_users_attributes"=>{"1427912177535"=>{"group_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create User"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: active  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "users" ("email", "name", "username", "salt", "crypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["email", "fulano@email.com"], ["name", "Fulano de Tal"], ["username", "fulano"], ["salt", "ntER6yyAFbipuaqfXGSy"], ["crypted_password", "$2a$10$8Oj/LrT8nVDcZK7VXugmDuAW72JdUMs6r2s9XRvRK4VlctuTXZVxq"], ["created_at", "2015-04-01 18:16:20.009992"], ["updated_at", "2015-04-01 18:16:20.009992"]] SQL (0.5ms) INSERT INTO "group_users" ("group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["group_id", 1], ["user_id", 2], ["created_at", "2015-04-01 18:16:20.012608"], ["updated_at", "2015-04-01 18:16:20.012608"]]  (26.7ms) commit transaction Redirected to http://localhost:3000/users/2 SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:20.043239' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 207ms (ActiveRecord: 29.9ms) Started GET "/users/2" for 127.0.0.1 at 2015-04-01 15:16:20 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (7.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:20.124357' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 42.8ms | ActiveRecord: 3.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:20 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:20 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:16:28 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.4ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (7.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (22.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:28.189674' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 66.6ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:28 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:28 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:28 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:28 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:16:57 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (5.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (10.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (29.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:57.172856' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 71ms (Views: 35.6ms | ActiveRecord: 30.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:57 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (26.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:58.242914' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 69ms (Views: 36.7ms | ActiveRecord: 27.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (70.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:16:58.886897' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 126ms (Views: 46.9ms | ActiveRecord: 72.2ms) Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:58 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:16:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:16:59 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:09 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:09.787916' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 37.0ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:09 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:09 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:09 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:09 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:11 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:11.260505' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 32.9ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:11 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:11 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:11 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:11 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (15.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:12.310571' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 44.1ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.5ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:12.561201' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 43.5ms | ActiveRecord: 2.9ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (4.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (13.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:12.634622' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 57.4ms | ActiveRecord: 2.8ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (13.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:12.691464' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 43.5ms | ActiveRecord: 3.4ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:12.742045' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 37.2ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:12 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:13.172086' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 39.2ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (10.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:13.881777' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 42.3ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:13 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:38 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (45.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (74.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:39.273058' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 224ms (Views: 128.6ms | ActiveRecord: 6.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:39 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:39 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:39 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (2.6ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:39.986995' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 42.4ms | ActiveRecord: 3.9ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.9ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:40.234307' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 53ms (Views: 45.6ms | ActiveRecord: 2.9ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:40.291937' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 43.0ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:40 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:40.978214' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 41.6ms | ActiveRecord: 3.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:41.530542' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 38.8ms | ActiveRecord: 2.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:41 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (6.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:42.009638' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 38.6ms | ActiveRecord: 7.3ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (11.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:42.705292' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 48.8ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:42 -0300 Started PATCH "/users/2" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZtWVlq5LASNnUvzHtReAyWyCwOcXSV1H2sYYUMuQTd65yAx90BlEdBnFn7v9DxYCa2uqMiJmK7tH3Z7va9SFCQ==", "user"=>{"role_group_users_attributes"=>{"1427912264652"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Create Role group user", "id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] Unpermitted parameter: role_group_users_attributes  (0.1ms) begin transaction  (0.1ms) commit transaction Redirected to http://localhost:3000/users/2 SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:51.417330' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 10ms (ActiveRecord: 3.0ms) Started GET "/users/2" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (10.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:51.486707' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 53.8ms | ActiveRecord: 4.7ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:51 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:17:53 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1154.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:53.878642' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 1204ms (Views: 44.8ms | ActiveRecord: 1155.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:55 -0300 Started GET "/users/2" for 127.0.0.1 at 2015-04-01 15:17:58 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (14.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:58.567409' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 55ms (Views: 37.0ms | ActiveRecord: 15.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:58 -0300 Started GET "/users/2" for 127.0.0.1 at 2015-04-01 15:17:59 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (18.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:17:59.476100' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 56ms (Views: 30.7ms | ActiveRecord: 19.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:17:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:17:59 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:18:00 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (13.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (33.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:18:00.773917' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 85ms (Views: 44.3ms | ActiveRecord: 35.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:18:00 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:00 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:00 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:00 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:18:01 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (21.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:18:01.808537' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 63ms (Views: 33.8ms | ActiveRecord: 22.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:18:01 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:01 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:01 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:18:01 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:19:31 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (42.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (76.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (1.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-01 18:19:32.172932' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 232ms (Views: 129.3ms | ActiveRecord: 5.2ms) Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-01 15:19:32 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-01 15:19:32 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-01 15:19:32 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-01 15:19:32 -0300 Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:35 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (83.9ms) Completed 500 Internal Server Error in 93ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8e139d478>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.7ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:37 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (22.3ms) Completed 500 Internal Server Error in 31ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8dd42de00>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (58.2ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:38 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (21.7ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8e1049088>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (57.0ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:39 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (25.0ms) Completed 500 Internal Server Error in 36ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8e0d284a8>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (61.5ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:40 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (20.9ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8e127c170>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (64.0ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-01 15:33:41 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (20.5ms) Completed 500 Internal Server Error in 33ms ActionView::Template::Error (undefined method `group_user_path' for #<#:0x007fb8e280a5f0>): 4: 5: Grupo <%= @group.name %> 6: 7: <%= form_for @group_user do |f| %> 8:
9:

Perfil

10: actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:220:in `polymorphic_method' actionpack (4.2.0) lib/action_dispatch/routing/polymorphic_routes.rb:134:in `polymorphic_path' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:466:in `apply_form_for_options!' actionview (4.2.0) lib/action_view/helpers/form_helper.rb:434:in `form_for' /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb:7:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_permission_html_erb___1872977360610769808_70216011405920' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (54.0ms) Started GET "/" for 127.0.0.1 at 2015-04-09 14:42:05 -0300 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by HomeController#index as HTML User Load (36.4ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" IS NULL Rendered home/index.html.erb within layouts/application (356.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) Completed 200 OK in 755ms (Views: 717.3ms | ActiveRecord: 37.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-09 14:42:06 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-09 14:42:06 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-09 14:42:06 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-09 14:42:06 -0300 Started GET "/session/new" for 127.0.0.1 at 2015-04-09 14:42:08 -0300 Processing by Curupira::SessionsController#new as HTML Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/sessions/new.html.erb (81.3ms) Completed 200 OK in 112ms (Views: 101.6ms | ActiveRecord: 0.0ms) Started POST "/session" for 127.0.0.1 at 2015-04-09 14:42:12 -0300 Processing by Curupira::SessionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"qgc+/HAgJF7BEhrB/HoeIzqZim2yFFRDZXR0GQcqca537WGAgTDlZ+HMeMBs5acyVOqVCJFdryVCcUxLohC4Mw==", "user"=>{"username"=>"paulociecomp@gmail.com", "password"=>"[FILTERED]"}, "commit"=>"Entrar"} User Load (16.5ms) SELECT "users".* FROM "users" WHERE ("users"."username" = 'paulociecomp@gmail.com' OR "users"."email" = 'paulociecomp@gmail.com') ORDER BY "users"."id" ASC LIMIT 1 SQL (1.3ms) UPDATE "users" SET "last_login_at" = '2015-04-09 17:42:12.598709' WHERE "users"."id" = ? [["id", 1]] SQL (1.8ms) UPDATE "users" SET "last_login_from_ip_address" = '127.0.0.1' WHERE "users"."id" = ? [["id", 1]] Redirected to http://localhost:3000/ SQL (26.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:12.605610' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 219ms (ActiveRecord: 45.6ms) Started GET "/" for 127.0.0.1 at 2015-04-09 14:42:12 -0300 Processing by HomeController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" INNER JOIN "group_users" ON "group_users"."user_id" = "users"."id" INNER JOIN "role_group_users" ON "role_group_users"."group_user_id" = "group_users"."id" INNER JOIN "roles" ON "roles"."id" = "role_group_users"."role_id" INNER JOIN "authorizations" ON "authorizations"."role_id" = "roles"."id" INNER JOIN "features" ON "features"."id" = "authorizations"."feature_id" INNER JOIN "action_labels" ON "action_labels"."feature_id" = "features"."id" WHERE "features"."controller" = 'home' AND "action_labels"."name" IN ('test', 'manage') AND "users"."id" = 1 Rendered home/index.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:12.695085' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 28.3ms | ActiveRecord: 2.6ms) Started GET "/users" for 127.0.0.1 at 2015-04-09 14:42:14 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:14.832625' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 51ms (Views: 46.1ms | ActiveRecord: 2.4ms) Started GET "/users/2" for 127.0.0.1 at 2015-04-09 14:42:19 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (35.5ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (23.4ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.5ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (207.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (30.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:19.547486' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 354ms (Views: 260.6ms | ActiveRecord: 90.4ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-09 14:42:20 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (17.0ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (83.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (195.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (50.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:20.942939' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 310ms (Views: 236.5ms | ActiveRecord: 68.6ms) Started GET "/users" for 127.0.0.1 at 2015-04-09 14:42:32 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:42:32.197865' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 64ms (Views: 58.8ms | ActiveRecord: 2.0ms) Started GET "/users/2" for ::1 at 2015-04-09 14:43:24 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:43:24.512207' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 39ms (Views: 34.7ms | ActiveRecord: 2.3ms) Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 14:43:25 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:43:25.836011' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 44ms (Views: 36.0ms | ActiveRecord: 2.9ms) Started PATCH "/users/2/groups/1/roles" for ::1 at 2015-04-09 14:43:53 -0300 ActionController::RoutingError (No route matches [PATCH] "/users/2/groups/1/roles"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (18.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (97.4ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-09 14:52:49 -0300 ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (29.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.9ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (22.8ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.4ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (17.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (283.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (447.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (35.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:52:51.660543' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 1099ms (Views: 677.5ms | ActiveRecord: 108.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-09 14:52:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-09 14:52:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-09 14:52:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-09 14:52:51 -0300 Started PATCH "/permissions" for 127.0.0.1 at 2015-04-09 14:52:55 -0300 ActionController::RoutingError (No route matches [PATCH] "/permissions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (24.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (97.8ms) Started GET "/users/2/groups/1/roles" for 127.0.0.1 at 2015-04-09 14:53:10 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (10.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:53:10.191618' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 42.7ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for 127.0.0.1 at 2015-04-09 14:53:10 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for 127.0.0.1 at 2015-04-09 14:53:10 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for 127.0.0.1 at 2015-04-09 14:53:10 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for 127.0.0.1 at 2015-04-09 14:53:10 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 14:55:08 -0300 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (46.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (70.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (53.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:55:08.695528' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 261ms (Views: 123.1ms | ActiveRecord: 56.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 14:55:08 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 14:55:08 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 14:55:08 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 14:55:08 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 14:55:12 -0300 ActionController::RoutingError (No route matches [PATCH] "/permissions"): actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (93.3ms) Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 14:58:46 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (65.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (114.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 17:58:46.908854' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 278ms (Views: 169.8ms | ActiveRecord: 5.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 14:58:46 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 14:58:47 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 14:58:47 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 14:58:47 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 14:58:50 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"/xJqgO0jImp8FmXOrbkSujGC5kUKoz6F/F3LMO4D/bAi+DX8HDPjU1zIB889JqurX/H5ICnqxePbWPNiSzk0LQ==", "group_user"=>{"role_group_users_attributes"=>{"1428602327930"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 244701ms Started GET "/users/2" for ::1 at 2015-04-09 15:03:14 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (52.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (4.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:03:15.211008' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 190ms (Views: 120.8ms | ActiveRecord: 6.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:03:15 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:03:15 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:03:15 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:03:15 -0300 Started GET "/users" for ::1 at 2015-04-09 15:03:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.4ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:03:18.532507' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 62.5ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:03:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:03:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:03:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:03:18 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:03:20 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (2.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:03:20.095372' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 32ms (Views: 27.0ms | ActiveRecord: 2.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:03:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:03:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:03:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:03:20 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:03:23 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (36.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (53.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:03:23.369464' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 84ms (Views: 74.6ms | ActiveRecord: 4.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:03:23 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:03:23 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:03:23 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:03:23 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:06:37 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"pPl1Qy1gc2tKnmHH+VzILB1avQKh4GMj8XnZWtTfjaR5Eyo/3HCyUmpAA8Zpw3E9cymiZ4KpmEXWfOEIceVEOQ==", "group_user"=>{"role_group_users_attributes"=>{"1428602605095"=>{"role_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 143372ms ActionView::MissingTemplate (Missing template curupira/permissions/create, curupira/authorized/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/paulomoura/projetos/curupira/spec/dummy/app/views" * "/Users/paulomoura/projetos/curupira/app/views" ): actionview (4.2.0) lib/action_view/path_set.rb:46:in `find' actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:38:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (59.8ms) Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:11:17 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (24.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:11:17.088990' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 65ms (Views: 35.1ms | ActiveRecord: 25.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:11:17 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:11:17 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:11:17 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:11:17 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:14:27 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (41.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (48.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:14:27.491984' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 86ms (Views: 77.1ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:14:27 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:14:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:14:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:14:27 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:14:54 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (4.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:14:54.523332' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 37.9ms | ActiveRecord: 5.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:14:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:14:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:14:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:14:54 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:15:18 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"tagWp/aEQM8LDi6xGrUcj/NCQQYkEA0XqjKWyDiLneZoQknbB5SB9ivQTLCKKqWenTFeYwdZ9nGNN66anbFUew==", "group_user"=>{"role_group_users_attributes"=>{"1428603295821"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 569137ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:24:57 -0300 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (50.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (73.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:24:58.284623' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 259ms (Views: 123.4ms | ActiveRecord: 6.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:24:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:24:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:24:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:24:58 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:25:01 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"EGUgLp0wmcq+27LH07vREWSCwuYMsd5GKzqNbkgSBbLNj39SbCBY854F0MZDJGgACvHdgy/4JSAMP7U87SjMLw==", "group_user"=>{"role_group_users_attributes"=>{"1428603899165"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 5269ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:25:38 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (43.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (64.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:25:38.704504' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 209ms (Views: 120.2ms | ActiveRecord: 5.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:25:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:25:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:25:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:25:38 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:25:42 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"3mi7Qc8LAAns0xwy0NqGrIfcMAO5XlWZupPyJu10u1ADguQ9PhvBMMwNfjNART+96a8vZpoXrv+dlsp0SE5yzQ==", "group_user"=>{"role_group_users_attributes"=>{"1428603940124"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 34236ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:26:24 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (59.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (86.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:26:24.982165' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 283ms (Views: 168.1ms | ActiveRecord: 7.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:26:25 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:26:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:26:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:26:25 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:26:28 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bcxE+cOKO0nDvIe7VnUYYNlBeAe4vsjDTR/IfEekjiCwJhuFMpr6cONi5brG6qFxtzJnYpv3M6VqGvAu4p5HvQ==", "group_user"=>{"role_group_users_attributes"=>{"1428603986191"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428603986191  (0.1ms) begin transaction SQL (0.9ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:26:28.169849"], ["updated_at", "2015-04-09 18:26:28.169849"]]  (2.1ms) commit transaction Completed 500 Internal Server Error in 8ms NoMethodError (undefined method `user' for #): app/controllers/curupira/permissions_controller.rb:6:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.6ms) Started PATCH "/permissions" for ::1 at 2015-04-09 15:27:47 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bcxE+cOKO0nDvIe7VnUYYNlBeAe4vsjDTR/IfEekjiCwJhuFMpr6cONi5brG6qFxtzJnYpv3M6VqGvAu4p5HvQ==", "group_user"=>{"role_group_users_attributes"=>{"1428603986191"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428603986191 Unpermitted parameter: 1428603986191 GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", nil]] Completed 404 Not Found in 36ms ActiveRecord::RecordNotFound (Couldn't find GroupUser with 'id'=): app/controllers/curupira/permissions_controller.rb:4:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (62.2ms) Started PATCH "/permissions" for ::1 at 2015-04-09 15:29:02 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bcxE+cOKO0nDvIe7VnUYYNlBeAe4vsjDTR/IfEekjiCwJhuFMpr6cONi5brG6qFxtzJnYpv3M6VqGvAu4p5HvQ==", "group_user"=>{"role_group_users_attributes"=>{"1428603986191"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428603986191 GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", nil]] Completed 404 Not Found in 38ms ActiveRecord::RecordNotFound (Couldn't find GroupUser with 'id'=): app/controllers/curupira/permissions_controller.rb:4:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.1ms) Started PATCH "/permissions" for ::1 at 2015-04-09 15:29:49 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"bcxE+cOKO0nDvIe7VnUYYNlBeAe4vsjDTR/IfEekjiCwJhuFMpr6cONi5brG6qFxtzJnYpv3M6VqGvAu4p5HvQ==", "group_user"=>{"role_group_users_attributes"=>{"1428603986191"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 45013ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:30:43 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (44.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (69.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.8ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:30:43.538149' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 211ms (Views: 121.0ms | ActiveRecord: 6.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:30:43 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:30:43 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:30:43 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:30:43 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:30:47 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BH3MF7vlsyuhQzk3CyRIAClb90UBTfO3gYjw7moMG6DZl5NrSvVyEoGdWzabu/ERRyjoICIECNGmjci8zzbSPQ==", "group_user"=>{"role_group_users_attributes"=>{"1428604244526"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428604244526  (0.4ms) begin transaction SQL (0.5ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:30:47.183867"], ["updated_at", "2015-04-09 18:30:47.183867"]]  (1.6ms) commit transaction Completed 500 Internal Server Error in 8ms ActionController::UrlGenerationError (No route matches {:action=>"show", :controller=>"curupira/users"} missing required keys: [:id]): app/controllers/curupira/permissions_controller.rb:6:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (57.8ms) Started PATCH "/permissions" for ::1 at 2015-04-09 15:31:18 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"BH3MF7vlsyuhQzk3CyRIAClb90UBTfO3gYjw7moMG6DZl5NrSvVyEoGdWzabu/ERRyjoICIECNGmjci8zzbSPQ==", "group_user"=>{"role_group_users_attributes"=>{"1428604244526"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428604244526  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:31:18.344062"], ["updated_at", "2015-04-09 18:31:18.344062"]]  (2.1ms) commit transaction Redirected to http://localhost:3000/users SQL (1.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:31:18.348808' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 39ms (ActiveRecord: 5.4ms) Started GET "/users" for ::1 at 2015-04-09 15:31:18 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:31:18.470558' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 38ms (Views: 31.5ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:31:18 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:31:18 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:31:18 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:31:18 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:31:21 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.4ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (26.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.6ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:31:21.170506' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 59.1ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:31:21 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:31:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:31:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:31:21 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:31:23 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (23.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (30.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:31:24.062701' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 75ms (Views: 64.7ms | ActiveRecord: 3.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:31:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:31:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:31:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:31:24 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:31:30 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (4.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (3.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:31:30.475760' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 32.3ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:31:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:31:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:31:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:31:30 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:33:47 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (6.7ms) Completed 500 Internal Server Error in 14ms ActionView::Template::Error (undefined method `role_group_users' for nil:NilClass): 29:

Perfis

30: 31:
    32: <% @group_user.role_group_users.each do |permission| %> 33:
  • <%= permission.role.name %>
  • 34: <% end -%> 35:
/Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb:32:in `___sers_paulomoura_projetos_curupira_app_views_curupira_users_show_html_erb__359828502690362892_70125449190820' actionview (4.2.0) lib/action_view/template.rb:145:in `block in render' activesupport (4.2.0) lib/active_support/notifications.rb:166:in `instrument' actionview (4.2.0) lib/action_view/template.rb:333:in `instrument' actionview (4.2.0) lib/action_view/template.rb:143:in `render' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:52:in `render_template' actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:14:in `render' actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template' actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body' actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument' actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process' actionview (4.2.0) lib/action_view/rendering.rb:30:in `process' actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each' actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve' actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/etag.rb:24:in `call' rack (1.6.0) lib/rack/conditionalget.rb:25:in `call' rack (1.6.0) lib/rack/head.rb:13:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call' rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context' rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call' activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call' activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call' activerecord (4.2.0) lib/active_record/migration.rb:378:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call' activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks' activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks' actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app' railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.2.0) lib/rails/rack/logger.rb:20:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.6.0) lib/rack/methodoverride.rb:22:in `call' rack (1.6.0) lib/rack/runtime.rb:18:in `call' activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call' rack (1.6.0) lib/rack/sendfile.rb:113:in `call' railties (4.2.0) lib/rails/engine.rb:518:in `call' railties (4.2.0) lib/rails/application.rb:164:in `call' rack (1.6.0) lib/rack/lock.rb:17:in `call' rack (1.6.0) lib/rack/content_length.rb:15:in `call' rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' /Users/paulomoura/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (56.9ms) Started GET "/users/2" for ::1 at 2015-04-09 15:35:01 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (73.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:35:02.046827' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 126ms (Views: 99.0ms | ActiveRecord: 5.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:35:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:35:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:35:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:35:02 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:35:07 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.5ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (19.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (29.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:35:07.908035' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 56.0ms | ActiveRecord: 4.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:35:07 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:35:07 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:35:07 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:35:07 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:35:13 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"oUsiT8Cy8Oq+caOfWb9Wty4cphCwiYpvq+AalIg3QPx8oX0zMaIx056vwZ7JIO+mQG+5dZPAcQmM5SLGLQ2JYQ==", "group_user"=>{"role_group_users_attributes"=>{"1428604509204"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428604509204  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:35:13.226517"], ["updated_at", "2015-04-09 18:35:13.226517"]]  (2.4ms) commit transaction Redirected to http://localhost:3000/users SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:35:13.232640' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 12ms (ActiveRecord: 4.8ms) Started GET "/users" for ::1 at 2015-04-09 15:35:13 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (2.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:35:13.276406' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 33ms (Views: 26.7ms | ActiveRecord: 3.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:35:13 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:35:13 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:35:13 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:35:13 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:35:14 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:35:14.682112' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 30.9ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:35:14 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:35:14 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:35:14 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:35:14 -0300 RoleGroupUser Load (1.8ms) SELECT "role_group_users".* FROM "role_group_users" Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:37:19 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.3ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (122.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (198.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (17.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:37:20.133580' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 448ms (Views: 276.9ms | ActiveRecord: 20.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:37:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:37:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:37:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:37:20 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:37:24 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"r5rcKVhQmTrKWfUf85I3FOK306XGYYaQ6JUD6KVguq9ycINVqUBYA+qHlx5jDY4FjMTMwOUoffbPkDu6AFpzMg==", "group_user"=>{"role_group_users_attributes"=>{"1428604641352"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428604641352  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:37:24.355500"], ["updated_at", "2015-04-09 18:37:24.355500"]]  (1.7ms) commit transaction Redirected to http://localhost:3000/users SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:37:24.359600' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 9ms (ActiveRecord: 4.0ms) Started GET "/users" for ::1 at 2015-04-09 15:37:24 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:37:24.407120' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 36ms (Views: 31.9ms | ActiveRecord: 2.2ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:37:24 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:37:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:37:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:37:24 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:37:46 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"r5rcKVhQmTrKWfUf85I3FOK306XGYYaQ6JUD6KVguq9ycINVqUBYA+qHlx5jDY4FjMTMwOUoffbPkDu6AFpzMg==", "group_user"=>{"role_group_users_attributes"=>{"1428604641352"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 116821ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:39:50 -0300 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (67.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (92.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (3.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:39:51.077899' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 251ms (Views: 156.7ms | ActiveRecord: 7.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:39:51 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:39:51 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:39:51 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:39:51 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:39:54 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"cW+XPe6+j6glZb8yTAp2lqrb68zFcGBtAVzhY2PtJYushchBH65OkQW73TPclc+HxKj0qeY5mwsmWdkxxtfsFg==", "group_user"=>{"role_group_users_attributes"=>{"1428604792048"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: 1428604792048  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "role_group_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-09 18:39:54.062916"], ["updated_at", "2015-04-09 18:39:54.062916"]]  (1.8ms) commit transaction Redirected to http://localhost:3000/users SQL (1.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:39:54.067368' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 10ms (ActiveRecord: 3.9ms) Started GET "/users" for ::1 at 2015-04-09 15:39:54 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (4.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:39:54.126258' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 40.3ms | ActiveRecord: 3.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:39:54 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:39:54 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:39:54 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:39:54 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:39:55 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.4ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (10.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:39:55.885864' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 48ms (Views: 40.6ms | ActiveRecord: 4.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:39:55 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:39:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:39:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:39:55 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:40:02 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (7.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.7ms) SQL (3.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:40:02.098164' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 38.3ms | ActiveRecord: 4.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:40:02 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:40:02 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:40:02 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:40:02 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:42:56 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (15.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (31.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:42:56.941150' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 106ms (Views: 60.8ms | ActiveRecord: 5.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:42:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:42:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:42:57 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (9.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (3.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:42:57.893769' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 39.4ms | ActiveRecord: 4.0ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:57 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:42:58 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.6ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (4.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (11.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:42:58.269419' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 57ms (Views: 41.3ms | ActiveRecord: 2.8ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:42:58 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (7.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:42:58.550775' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 50ms (Views: 39.0ms | ActiveRecord: 3.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:42:58 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (3.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (4.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:42:58.804490' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 32.2ms | ActiveRecord: 5.4ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:42:58 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:43:05 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IJfQMLwzpdvbNagzLqemS6li8TK2Gcq/RR1BVC4mjDD9fY9MTSNk4vvryjK+OB9axxHuV5VQMdliGHkGixxFrQ==", "group_user"=>{"group_user_id"=>"1", "role_group_users_attributes"=>{"1428604980619"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", nil]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find GroupUser with 'id'=): app/controllers/curupira/permissions_controller.rb:4:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (51.4ms) Started PATCH "/permissions" for ::1 at 2015-04-09 15:43:20 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"IJfQMLwzpdvbNagzLqemS6li8TK2Gcq/RR1BVC4mjDD9fY9MTSNk4vvryjK+OB9axxHuV5VQMdliGHkGixxFrQ==", "group_user"=>{"group_user_id"=>"1", "role_group_users_attributes"=>{"1428604980619"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", nil]] Completed 404 Not Found in 67133ms ActiveRecord::RecordNotFound (Couldn't find GroupUser with 'id'=): app/controllers/curupira/permissions_controller.rb:4:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (52.2ms) Started GET "/users/2" for ::1 at 2015-04-09 15:44:27 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (25.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:44:27.648322' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 58.6ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:44:27 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:44:27 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:44:27 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:44:27 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:44:30 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:44:30.338880' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 37ms (Views: 31.1ms | ActiveRecord: 3.5ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:44:30 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:44:30 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:44:30 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:44:30 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:44:59 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (17.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (27.8ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:44:59.404783' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 67ms (Views: 58.4ms | ActiveRecord: 3.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:44:59 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:44:59 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:44:59 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:44:59 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:45:38 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.3ms) SQL (1.9ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:45:38.078432' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 37.9ms | ActiveRecord: 2.7ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:45:38 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:45:38 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:45:38 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:45:38 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:45:39 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:45:39.750085' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 46ms (Views: 40.3ms | ActiveRecord: 2.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:45:39 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:45:39 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:45:39 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:45:39 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:45:40 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (5.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (2.2ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:45:40.475808' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 49ms (Views: 42.6ms | ActiveRecord: 3.1ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:45:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:45:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:45:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:45:40 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:45:41 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.4ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (6.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (2.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:45:42.036388' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 45ms (Views: 37.9ms | ActiveRecord: 2.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:45:42 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:45:42 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:45:42 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:45:42 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:46:20 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.4ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (18.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (31.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:46:20.315633' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 105ms (Views: 58.0ms | ActiveRecord: 5.9ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:46:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:46:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:46:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:46:20 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:46:20 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (7.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.7ms) SQL (1.8ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:46:21.002491' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 41ms (Views: 33.0ms | ActiveRecord: 2.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:46:21 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."group_id" = ? LIMIT 1 [["user_id", 2], ["group_id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:46:21.421907' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 43ms (Views: 35.3ms | ActiveRecord: 2.4ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:46:21 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:47:24 -0300 ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (51.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (94.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.9ms) SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:47:24.477106' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 260ms (Views: 152.0ms | ActiveRecord: 5.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:47:24 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:47:24 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:47:24 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:47:24 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:47:25 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (2.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.1ms) SQL (2.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:47:25.294831' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 62ms (Views: 50.9ms | ActiveRecord: 3.5ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:47:25 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:47:25 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:47:25 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:47:25 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:47:55 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.3ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (15.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (28.5ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.3ms) SQL (35.0ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:47:56.115228' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 137ms (Views: 54.9ms | ActiveRecord: 38.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:47:56 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:47:56 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:47:56 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:47:56 -0300 Started PATCH "/permissions" for ::1 at 2015-04-09 15:47:58 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"SpJIc6ze/40FSPMyU5vQy2AWSgAo7xc0NsRT9fjSzySXeBcPXc4+tCWWkTPDBGnaDmVVZQum7FIRwWunXegGuQ==", "group_user"=>{"role_group_users_attributes"=>{"1428605276770"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] Completed in 77812ms Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:50:20 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (52.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (74.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (1.0ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.2ms) SQL (5.7ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:50:20.321406' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 219ms (Views: 123.8ms | ActiveRecord: 8.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:50:20 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:50:20 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:50:20 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:50:20 -0300 Started PATCH "/users/1" for ::1 at 2015-04-09 15:50:25 -0300 Processing by Curupira::UsersController#update as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"1rJZA6P/qxFiMZPTBJMpTb/qBFRVdC2hzzrNF2FT1K4LWAZ/Uu9qKELv8dKUDJBc0ZkbMXY91sfoP/VFxGkdMw==", "group_user"=>{"role_group_users_attributes"=>{"1428605421642"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user", "id"=>"1"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]] Completed 400 Bad Request in 2ms ActionController::ParameterMissing (param is missing or the value is empty: user): app/controllers/curupira/users_controller.rb:51:in `user_params' app/controllers/curupira/users_controller.rb:35:in `update' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (54.0ms) Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:53:40 -0300 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (45.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (66.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.7ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.0ms) SQL (2.1ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:53:40.921041' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 196ms (Views: 112.2ms | ActiveRecord: 5.2ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:53:40 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:53:40 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:53:40 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:53:40 -0300 Started GET "/users/2/groups/1/roles" for ::1 at 2015-04-09 15:53:48 -0300 Processing by Curupira::UsersController#permission as HTML Parameters: {"user_id"=>"2", "group_user_id"=>"1"} User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.1ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? AND "group_users"."id" = ? LIMIT 1 [["user_id", 2], ["id", 1]] Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.1ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" INNER JOIN "role_groups" ON "role_groups"."role_id" = "roles"."id" INNER JOIN "groups" ON "groups"."id" = "role_groups"."group_id" WHERE "groups"."id" = 1 Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/_role_group_user_fields.html.erb (1.9ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/permission.html.erb within layouts/application (8.4ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.5ms) SQL (1.5ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:53:48.155937' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 47ms (Views: 38.9ms | ActiveRecord: 2.3ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:53:48 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:53:48 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:53:48 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:53:48 -0300 Started PATCH "/permissions/1" for ::1 at 2015-04-09 15:53:52 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPLZp1X9xbMy5BtJ1hHz/s2c7rZ0SMDNUFg4Fvoupd1tGIbbpO0EihI6eUhGjkrvo+/x01cBO6t3XQBEXxRsQA==", "group_user"=>{"role_group_users_attributes"=>{"1428605629656"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user", "group_user_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", 1]] Completed 400 Bad Request in 14072ms ActionController::ParameterMissing (param is missing or the value is empty: group_users): app/controllers/curupira/permissions_controller.rb:16:in `permissions_params' app/controllers/curupira/permissions_controller.rb:6:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.3ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.9ms) Started PATCH "/permissions/1" for ::1 at 2015-04-09 15:54:36 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPLZp1X9xbMy5BtJ1hHz/s2c7rZ0SMDNUFg4Fvoupd1tGIbbpO0EihI6eUhGjkrvo+/x01cBO6t3XQBEXxRsQA==", "group_user"=>{"role_group_users_attributes"=>{"1428605629656"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user", "group_user_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.2ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: _destroy Completed 500 Internal Server Error in 3166ms NoMethodError (undefined method `update' for nil:NilClass): app/controllers/curupira/permissions_controller.rb:6:in `create' Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.0ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/paulomoura/.rvm/gems/ruby-2.2.1/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (50.8ms) Started PATCH "/permissions/1" for ::1 at 2015-04-09 15:54:52 -0300 Processing by Curupira::PermissionsController#create as HTML Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPLZp1X9xbMy5BtJ1hHz/s2c7rZ0SMDNUFg4Fvoupd1tGIbbpO0EihI6eUhGjkrvo+/x01cBO6t3XQBEXxRsQA==", "group_user"=>{"role_group_users_attributes"=>{"1428605629656"=>{"role_id"=>"1", "group_user_id"=>"1", "_destroy"=>"false"}}}, "commit"=>"Update Group user", "group_user_id"=>"1"} User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."id" = ? LIMIT 1 [["id", 1]] Unpermitted parameter: _destroy  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "role_group_users" ("role_id", "group_user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role_id", 1], ["group_user_id", 1], ["created_at", "2015-04-09 18:54:55.149116"], ["updated_at", "2015-04-09 18:54:55.149116"]]  (1.5ms) commit transaction Redirected to http://localhost:3000/users SQL (1.6ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:54:55.155608' WHERE "users"."id" = ? [["id", 1]] Completed 302 Found in 2891ms (ActiveRecord: 6.0ms) Started GET "/users" for ::1 at 2015-04-09 15:54:55 -0300 Processing by Curupira::UsersController#index as HTML User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.3ms) SELECT "users".* FROM "users" Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/index.html.erb within layouts/application (3.6ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.2ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (1.5ms) SQL (4.4ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:54:55.250572' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 52ms (Views: 43.2ms | ActiveRecord: 4.8ms) Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:54:55 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:54:55 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:54:55 -0300 Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:54:55 -0300 Started GET "/users/2" for ::1 at 2015-04-09 15:54:58 -0300 Processing by Curupira::UsersController#show as HTML Parameters: {"id"=>"2"} User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]] User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]] GroupUser Load (0.3ms) SELECT "group_users".* FROM "group_users" WHERE "group_users"."user_id" = ? [["user_id", 2]] Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.3ms) SELECT "role_group_users".* FROM "role_group_users" WHERE "role_group_users"."group_user_id" = ? [["group_user_id", 1]] Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] RoleGroupUser Load (0.2ms) SELECT "role_group_users".* FROM "role_group_users" INNER JOIN "group_users" ON "role_group_users"."group_user_id" = "group_users"."id" WHERE "group_users"."user_id" = ? [["user_id", 2]] CACHE (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/users/show.html.erb within layouts/application (44.1ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_session_links.html.erb (0.3ms) Rendered /Users/paulomoura/projetos/curupira/app/views/curupira/shared/_model_links.html.erb (0.4ms) SQL (2.3ms) UPDATE "users" SET "last_activity_at" = '2015-04-09 18:54:58.143644' WHERE "users"."id" = ? [["id", 1]] Completed 200 OK in 82ms (Views: 74.0ms | ActiveRecord: 4.6ms) Started GET "/assets/application-5266d2988799ecc8fe6e81eaab412e7d.css?body=1" for ::1 at 2015-04-09 15:54:58 -0300 Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:54:58 -0300 Started GET "/assets/cocoon-50668a911ac69114e0706ea5dc068e8c.js?body=1" for ::1 at 2015-04-09 15:54:58 -0300 Started GET "/assets/application-e6c742ee8889b974589eff1e6c13a97d.js?body=1" for ::1 at 2015-04-09 15:54:58 -0300