spec/rails_app/log/development.log in dynamic-fields-for-1.0.1 vs spec/rails_app/log/development.log in dynamic-fields-for-1.0.2

- old
+ new

@@ -1970,5 +1970,511 @@ Served asset /application.js - 304 Not Modified (2ms) Started GET "/assets/dynamic-fields-for.js?body=1" for 127.0.0.1 at 2015-05-08 21:06:32 +0300 Served asset /dynamic-fields-for.js - 304 Not Modified (1ms) + User Load (0.2ms) SELECT "users".* FROM "users" +SQLite3::SQLException: no such table: users: SELECT "users".* FROM "users" +  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateTables (1) +  (0.0ms) begin transaction +  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_name" varchar(255)) +  (0.1ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_name" varchar(255))  + SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "1"]] +  (0.5ms) commit transaction + ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) begin transaction + Fixture Delete (0.2ms) DELETE FROM "roles" + Fixture Insert (0.1ms) INSERT INTO "roles" ("role_name", "id", "user_id") VALUES ('role 2', 642956446, 953441985) + Fixture Insert (0.0ms) INSERT INTO "roles" ("role_name", "id", "user_id") VALUES ('role 1', 1062989094, 953441985) + Fixture Insert (0.0ms) INSERT INTO "roles" ("role_name", "id", "user_id") VALUES ('role 0', 140303797, 953441985) +  (4.2ms) commit transaction +  (0.1ms) begin transaction + Fixture Delete (0.1ms) DELETE FROM "users" + Fixture Insert (0.1ms) INSERT INTO "users" ("user_name", "id") VALUES ('Existing user', 953441985) +  (0.5ms) commit transaction + User Load (1.2ms) SELECT "users".* FROM "users" + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? ORDER BY "roles"."id" ASC LIMIT 1 OFFSET 41 [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? LIMIT 1 [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1 + + +Started GET "/users/test" for 127.0.0.1 at 2015-05-10 10:49:48 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + +AbstractController::ActionNotFound (The action 'show' could not be found for UsersController): + actionpack (4.1.10) lib/abstract_controller/base.rb:131:in `process' + actionview (4.1.10) lib/action_view/rendering.rb:30:in `process' + actionpack (4.1.10) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.1.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.1.10) lib/action_controller/metal.rb:232:in `block in action' + actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `call' + actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:82:in `dispatch' + actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:50:in `call' + actionpack (4.1.10) lib/action_dispatch/journey/router.rb:73:in `block in call' + actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `each' + actionpack (4.1.10) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.1.10) lib/action_dispatch/routing/route_set.rb:692:in `call' + rack (1.5.2) lib/rack/etag.rb:23:in `call' + rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' + rack (1.5.2) lib/rack/head.rb:11:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/flash.rb:254:in `call' + rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/cookies.rb:562:in `call' + activerecord (4.1.10) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.1.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' + activerecord (4.1.10) lib/active_record/migration.rb:380:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.1.10) lib/active_support/callbacks.rb:82:in `run_callbacks' + actionpack (4.1.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.1.10) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.1.10) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.1.10) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.1.10) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.1.10) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' + rack (1.5.2) lib/rack/runtime.rb:17:in `call' + activesupport (4.1.10) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.1.10) lib/action_dispatch/middleware/static.rb:84:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.1.10) lib/rails/engine.rb:514:in `call' + railties (4.1.10) lib/rails/application.rb:144:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + rack (1.5.2) lib/rack/content_length.rb:14:in `call' + rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' + /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/unknown_action.html.erb within rescues/layout (21.2ms) + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:49:54 +0300 +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (47.0ms) +Completed 200 OK in 1326ms (Views: 1300.8ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:49:56 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:49:56 +0300 + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:49:56 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:49:56 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:54:48 +0300 +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (3.6ms) +Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:48 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:48 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:48 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:48 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:54:51 +0300 +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (3.8ms) +Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:51 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:51 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:51 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:54:51 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:55:05 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (48.4ms) +Completed 200 OK in 243ms (Views: 199.2ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:55:06 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:55:06 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:55:06 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:55:06 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:58:31 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (66.2ms) +Completed 200 OK in 275ms (Views: 251.3ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:32 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:32 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:32 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:32 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:58:54 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (65.9ms) +Completed 200 OK in 269ms (Views: 245.4ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:54 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:54 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:54 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:58:54 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 10:59:22 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (47.9ms) +Completed 200 OK in 245ms (Views: 202.9ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:59:22 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:59:22 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:59:22 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 10:59:22 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:05:53 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (66.0ms) +Completed 500 Internal Server Error in 95ms (ActiveRecord: 0.5ms) + +ActionView::Template::Error (undefined method `gsub' for 140303797:Fixnum): + 4: .fields_container + 5: = f.fields_for :roles, dynamic: true do |rf| + 6: = rf.text_field :role_name, class: 'role_name' + 7: = rf.remove_fields_link 'Remove role', class: 'remove_link' + 8: + 9: = f.add_fields_link :roles, 'Add role' + 10: + app/views/users/events.html.haml:7:in `block (2 levels) in _app_views_users_events_html_haml___4203429946409962851_70224050838940' + app/views/users/events.html.haml:5:in `block in _app_views_users_events_html_haml___4203429946409962851_70224050838940' + app/views/users/events.html.haml:1:in `_app_views_users_events_html_haml___4203429946409962851_70224050838940' + + + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.6ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.4ms) + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:10:20 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (67.6ms) +Completed 200 OK in 270ms (Views: 246.8ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:10:20 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:10:20 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:10:20 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:10:20 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:11:58 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (68.2ms) +Completed 200 OK in 277ms (Views: 253.8ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:11:58 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:11:58 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:11:58 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:11:58 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:26:17 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (67.7ms) +Completed 200 OK in 271ms (Views: 248.0ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:17 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:17 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:17 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:17 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:26:51 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (47.8ms) +Completed 200 OK in 242ms (Views: 199.2ms | ActiveRecord: 0.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:51 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:51 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:51 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:26:51 +0300 + + +Started GET "/users/953441985/edit_without_fields" for 127.0.0.1 at 2015-05-10 11:27:02 +0300 +Processing by UsersController#edit_without_fields as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Rendered users/edit_without_fields.html.haml within layouts/application (1.8ms) +Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:02 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:02 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:02 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:02 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:27:48 +0300 +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (3.5ms) +Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:48 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:48 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:48 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:27:48 +0300 + + +Started GET "/users/953441985/events" for 127.0.0.1 at 2015-05-10 11:29:06 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#events as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/events.html.haml within layouts/application (66.8ms) +Completed 200 OK in 272ms (Views: 248.5ms | ActiveRecord: 0.5ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:06 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:06 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:06 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:06 +0300 + + +Started GET "/users/953441985/edit_without_fields" for 127.0.0.1 at 2015-05-10 11:29:30 +0300 +Processing by UsersController#edit_without_fields as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Rendered users/edit_without_fields.html.haml within layouts/application (1.8ms) +Completed 200 OK in 12ms (Views: 11.2ms | ActiveRecord: 0.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:30 +0300 + + +Started GET "/assets/dynamic-fields-for.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:30 +0300 + + +Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:30 +0300 + + +Started GET "/assets/turbolinks.self.js?body=1" for 127.0.0.1 at 2015-05-10 11:29:30 +0300 + + +Started GET "/users/953441985/edit" for 127.0.0.1 at 2015-05-10 11:29:33 +0300 +Processing by UsersController#edit as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."user_id" = ? [["user_id", 953441985]] + Rendered users/_form.html.haml (191.2ms) + Rendered users/edit.html.haml within layouts/application (194.2ms) +Completed 200 OK in 205ms (Views: 203.4ms | ActiveRecord: 0.1ms) + + +Started GET "/users/953441985/edit_without_fields" for 127.0.0.1 at 2015-05-10 11:46:34 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#edit_without_fields as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Rendered users/edit_without_fields.html.haml within layouts/application (25.4ms) +Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.3ms) + +ActionView::Template::Error (undefined method `html_safe' for nil:NilClass): + 1: = link_to 'Edit', edit_user_path(@resource) + 2: + 3: = form_for @resource do |f| + 4: = f.remove_fields_link 'Remove without fields' + 5: = f.add_fields_link :roles, 'Add without fields' + 6: = f.submit 'Update without fields' + app/views/users/edit_without_fields.html.haml:4:in `block in _app_views_users_edit_without_fields_html_haml__234313415473319117_70338428849860' + app/views/users/edit_without_fields.html.haml:3:in `_app_views_users_edit_without_fields_html_haml__234313415473319117_70338428849860' + + + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (7.8ms) + + +Started GET "/users/953441985/edit_without_fields" for 127.0.0.1 at 2015-05-10 11:47:20 +0300 + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by UsersController#edit_without_fields as HTML + Parameters: {"id"=>"953441985"} + User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 953441985]] + Rendered users/edit_without_fields.html.haml within layouts/application (25.3ms) +Completed 500 Internal Server Error in 54ms (ActiveRecord: 0.3ms) + +ActionView::Template::Error (undefined method `html_safe' for nil:NilClass): + 1: = link_to 'Edit', edit_user_path(@resource) + 2: + 3: = form_for @resource do |f| + 4: = f.remove_fields_link 'Remove without fields' + 5: = f.add_fields_link :roles, 'Add without fields' + 6: = f.submit 'Update without fields' + app/views/users/edit_without_fields.html.haml:4:in `block in _app_views_users_edit_without_fields_html_haml___2220097102974969742_70283682653560' + app/views/users/edit_without_fields.html.haml:3:in `_app_views_users_edit_without_fields_html_haml___2220097102974969742_70283682653560' + + + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.7ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.5ms) + Rendered /Users/st/.rbenv/versions/1.9.3-p547/lib/ruby/gems/1.9.1/gems/actionpack-4.1.10/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (6.8ms)