test/dummy/log/development.log in carnival-0.0.26 vs test/dummy/log/development.log in carnival-0.0.33

- old
+ new

@@ -20529,5 +20529,3305 @@ Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms) Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms) Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms) Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (166.9ms) Completed 200 OK in 547ms (Views: 535.3ms | ActiveRecord: 6.9ms) + + +Started GET "/admin/cities" for 10.0.2.2 at 2014-04-02 17:58:01 +0000 + ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by Admin::CitiesController#index as HTML +Completed 401 Unauthorized in 92ms + + +Started GET "/admin/sessions/sign_in" for 10.0.2.2 at 2014-04-02 17:58:02 +0000 +Processing by Carnival::SessionsController#new as HTML + Rendered /project/app/views/admin_users/shared/_links.html.haml (5.1ms) + Rendered /project/app/views/admin_users/sessions/new.html.haml within layouts/carnival/admin (225.0ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (8.6ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (3.0ms) +Completed 200 OK in 1657ms (Views: 1618.2ms | ActiveRecord: 2.7ms) + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:05 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:05 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:05 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:06 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:06 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:06 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:07 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:07 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:07 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:07 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:07 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 17:58:08 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:08 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:08 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:08 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:09 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:09 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:09 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:09 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:10 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:10 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:10 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:10 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:10 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 17:58:11 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 17:58:11 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 17:58:12 +0000 + + +Started GET "/assets/favicon.ico" for 10.0.2.2 at 2014-04-02 17:58:12 +0000 + +ActionController::RoutingError (No route matches [GET] "/assets/favicon.ico"): + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (7.4ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (37.4ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (106.1ms) + + +Started POST "/admin/sessions/sign_in" for 10.0.2.2 at 2014-04-02 17:58:23 +0000 +Processing by Carnival::SessionsController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"H3O+zpMuSaB++SBA2hkcvdRrSXTDoHasOvF0aMkcTXE=", "admin_user"=>{"email"=>"antonioams@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Fazer login"} + Carnival::AdminUser Load (4.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."email" = 'antonioams@gmail.com' ORDER BY "admin_users"."id" ASC LIMIT 1 +  (0.2ms) begin transaction + SQL (61.2ms) UPDATE "admin_users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "admin_users"."id" = 1 [["last_sign_in_at", Wed, 26 Mar 2014 14:05:03 UTC +00:00], ["current_sign_in_at", Wed, 02 Apr 2014 17:58:23 UTC +00:00], ["sign_in_count", 6], ["updated_at", Wed, 02 Apr 2014 17:58:23 UTC +00:00]] +  (2.6ms) commit transaction +Redirected to http://localhost:3013/admin +Completed 302 Found in 218ms (ActiveRecord: 68.8ms) + + +Started GET "/admin" for 10.0.2.2 at 2014-04-02 17:58:23 +0000 +Processing by Carnival::AdminUsersController#index as HTML + Carnival::AdminUser Load (2.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (2.3ms) + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.9ms) + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (0.6ms) + Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (147.7ms) + Rendered /project/app/views/carnival/shared/_scope.html.haml (5.2ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (1.3ms) + Rendered /project/app/views/carnival/shared/_period_filter.html.haml (7.9ms) + Rendered /project/app/views/carnival/index.html.haml within layouts/carnival/admin (358.1ms) + Carnival::AdminUserNotification Load (1.8ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (2.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (146.8ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (8.4ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 1196ms (Views: 876.7ms | ActiveRecord: 8.1ms) + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 17:58:25 +0000 + + +Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:25 +0000 + + +Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-04-02 17:58:25 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 17:58:26 +0000 + + +Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-04-02 17:58:26 +0000 + + +Started GET "/assets/carnival/sort_both.png" for 10.0.2.2 at 2014-04-02 17:58:26 +0000 + + +Started GET "/assets/carnival/sort_asc.png" for 10.0.2.2 at 2014-04-02 17:58:27 +0000 + + +Started GET "/assets/carnival/search.png" for 10.0.2.2 at 2014-04-02 17:58:27 +0000 + + +Started GET "/admin/admin_users.json?sEcho=1&iColumns=6&sColumns=&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=true&bSortable_1=false&bSortable_2=true&bSortable_3=false&bSortable_4=false&bSortable_5=false&_=1396461505131" for 10.0.2.2 at 2014-04-02 17:58:27 +0000 +Processing by Carnival::AdminUsersController#index as JSON + Parameters: {"sEcho"=>"1", "iColumns"=>"6", "sColumns"=>"", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "mDataProp_1"=>"1", "mDataProp_2"=>"2", "mDataProp_3"=>"3", "mDataProp_4"=>"4", "mDataProp_5"=>"5", "sSearch"=>"", "bRegex"=>"false", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "sSearch_2"=>"", "bRegex_2"=>"false", "bSearchable_2"=>"true", "sSearch_3"=>"", "bRegex_3"=>"false", "bSearchable_3"=>"true", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "sSearch_5"=>"", "bRegex_5"=>"false", "bSearchable_5"=>"true", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "bSortable_0"=>"true", "bSortable_1"=>"false", "bSortable_2"=>"true", "bSortable_3"=>"false", "bSortable_4"=>"false", "bSortable_5"=>"false", "_"=>"1396461505131"} + Carnival::AdminUser Load (2.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 +  (1.4ms) SELECT COUNT(*) FROM "admin_users" + Carnival::AdminUser Load (2.1ms) SELECT "admin_users".* FROM "admin_users" ORDER BY admin_users.id asc LIMIT 50 OFFSET 0 + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (44.0ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (0.9ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.2ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (46.2ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (3.1ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms) + Rendered /project/app/views/carnival/shared/_action_delete.html.haml (1.7ms) + Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (286.4ms) +Completed 200 OK in 700ms (Views: 689.7ms | ActiveRecord: 6.3ms) + + +Started GET "/assets/carnival/datatables-loading.gif" for 10.0.2.2 at 2014-04-02 17:58:28 +0000 + + +Started GET "/admin/cities" for 10.0.2.2 at 2014-04-02 17:58:30 +0000 +Processing by Admin::CitiesController#index as HTML + Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (3.1ms) + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (1.1ms) + Admin::State Load (3.0ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (102.3ms) + Admin::Country Load (1.9ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (63.4ms) + Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (352.8ms) +  (2.0ms) SELECT COUNT(*) FROM "cities" +DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: cities, countries) that are referenced in a string SQL snippet. For example: + + Post.includes(:comments).where("comments.title = 'foo'") + +Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string: + + Post.includes(:comments).where("comments.title = 'foo'").references(:comments) + +If you don't rely on implicit join references you can disable the feature entirely by setting `config.active_record.disable_implicit_join_references = true`. (called from block in scopes_counters at /project/app/presenters/carnival/base_admin_presenter.rb:55) +  (2.1ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code = 'BR') +DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: cities, countries) that are referenced in a string SQL snippet. For example: + + Post.includes(:comments).where("comments.title = 'foo'") + +Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string: + + Post.includes(:comments).where("comments.title = 'foo'").references(:comments) + +If you don't rely on implicit join references you can disable the feature entirely by setting `config.active_record.disable_implicit_join_references = true`. (called from block in scopes_counters at /project/app/presenters/carnival/base_admin_presenter.rb:55) +  (2.3ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code <> 'BR') + Rendered /project/app/views/carnival/shared/_scope.html.haml (101.1ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.3ms) + Rendered /project/app/views/carnival/shared/_period_filter.html.haml (911.1ms) + Rendered /project/app/views/carnival/index.html.haml within layouts/carnival/admin (1549.0ms) + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (2.3ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (10.4ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (9.6ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms) +Completed 200 OK in 2179ms (Views: 1995.0ms | ActiveRecord: 23.6ms) + + +Started GET "/assets/carnival/sprites-active.png" for 10.0.2.2 at 2014-04-02 17:58:33 +0000 + + +Started GET "/assets/carnival/images/ui-bg_flat_75_ffffff_40x100.png" for 10.0.2.2 at 2014-04-02 17:58:33 +0000 + + +Started GET "/admin/cities.json?scope=all&from=2014-04-01&to=2014-04-30&sEcho=1&iColumns=7&sColumns=&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=false&bSortable_1=false&bSortable_2=false&bSortable_3=false&bSortable_4=false&bSortable_5=false&bSortable_6=false&_=1396461512895" for 10.0.2.2 at 2014-04-02 17:58:33 +0000 +Processing by Admin::CitiesController#index as JSON + Parameters: {"scope"=>"all", "from"=>"2014-04-01", "to"=>"2014-04-30", "sEcho"=>"1", "iColumns"=>"7", "sColumns"=>"", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "mDataProp_1"=>"1", "mDataProp_2"=>"2", "mDataProp_3"=>"3", "mDataProp_4"=>"4", "mDataProp_5"=>"5", "mDataProp_6"=>"6", "sSearch"=>"", "bRegex"=>"false", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "sSearch_2"=>"", "bRegex_2"=>"false", "bSearchable_2"=>"true", "sSearch_3"=>"", "bRegex_3"=>"false", "bSearchable_3"=>"true", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "sSearch_5"=>"", "bRegex_5"=>"false", "bSearchable_5"=>"true", "sSearch_6"=>"", "bRegex_6"=>"false", "bSearchable_6"=>"true", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "bSortable_0"=>"false", "bSortable_1"=>"false", "bSortable_2"=>"false", "bSortable_3"=>"false", "bSortable_4"=>"false", "bSortable_5"=>"false", "bSortable_6"=>"false", "_"=>"1396461512895"} + Carnival::AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 +  (1.8ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59') + Admin::City Load (1.8ms) SELECT "cities".* FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59') ORDER BY cities.id asc LIMIT 50 OFFSET 0 +Completed 200 OK in 15ms (Views: 4.2ms | ActiveRecord: 5.3ms) + + +Started GET "/assets/carnival/cal.png" for 10.0.2.2 at 2014-04-02 17:58:34 +0000 + + +Started GET "/assets/carnival/search-button.png" for 10.0.2.2 at 2014-04-02 17:58:37 +0000 + + +Started GET "/admin/cities.json?scope=all&from=2014-01-01&to=2014-12-31&sEcho=2&iColumns=7&sColumns=&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=false&bSortable_1=false&bSortable_2=false&bSortable_3=false&bSortable_4=false&bSortable_5=false&bSortable_6=false&_=1396461512896" for 10.0.2.2 at 2014-04-02 17:58:41 +0000 +Processing by Admin::CitiesController#index as JSON + Parameters: {"scope"=>"all", "from"=>"2014-01-01", "to"=>"2014-12-31", "sEcho"=>"2", "iColumns"=>"7", "sColumns"=>"", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "mDataProp_1"=>"1", "mDataProp_2"=>"2", "mDataProp_3"=>"3", "mDataProp_4"=>"4", "mDataProp_5"=>"5", "mDataProp_6"=>"6", "sSearch"=>"", "bRegex"=>"false", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "sSearch_2"=>"", "bRegex_2"=>"false", "bSearchable_2"=>"true", "sSearch_3"=>"", "bRegex_3"=>"false", "bSearchable_3"=>"true", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "sSearch_5"=>"", "bRegex_5"=>"false", "bSearchable_5"=>"true", "sSearch_6"=>"", "bRegex_6"=>"false", "bSearchable_6"=>"true", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "bSortable_0"=>"false", "bSortable_1"=>"false", "bSortable_2"=>"false", "bSortable_3"=>"false", "bSortable_4"=>"false", "bSortable_5"=>"false", "bSortable_6"=>"false", "_"=>"1396461512896"} + Carnival::AdminUser Load (1.9ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 +  (1.8ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-01-01 00:00:00' and '2014-12-31 23:59:59') + Admin::City Load (1.7ms) SELECT "cities".* FROM "cities" WHERE (cities.created_at between '2014-01-01 00:00:00' and '2014-12-31 23:59:59') ORDER BY cities.id asc LIMIT 50 OFFSET 0 + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (35.5ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.1ms) + Admin::State Load (1.9ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (22.7ms) + Admin::Country Load (1.8ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (7.6ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.3ms) + Rendered /project/app/views/carnival/shared/_list_cel.html.haml (1.5ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms) + Rendered /project/app/views/carnival/shared/_action_delete.html.haml (0.4ms) + Rendered /project/app/views/carnival/shared/_item_buttons.html.haml (176.6ms) +Completed 200 OK in 592ms (Views: 579.1ms | ActiveRecord: 9.1ms) + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 17:58:44 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (1.9ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.8ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (58.8ms) +Completed 500 Internal Server Error in 299ms + +ActionController::UrlGenerationError - No route matches {:action=>"edit", :controller=>"admin/cities"}: + actionpack (4.0.4) lib/action_dispatch/journey/formatter.rb:39:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:595:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:625:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:661:in `url_for' + actionpack (4.0.4) lib/action_dispatch/routing/url_for.rb:155:in `url_for' + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `rescue in block (2 levels) in edit' + /project/app/controllers/carnival/base_admin_controller.rb:72:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/84055750/variables" for 10.0.2.2 at 2014-04-02 17:58:44 +0000 + + +Started POST "/__better_errors/84055750/variables" for 10.0.2.2 at 2014-04-02 17:58:56 +0000 + + +Started POST "/__better_errors/84055750/eval" for 10.0.2.2 at 2014-04-02 17:59:46 +0000 + + +Started POST "/__better_errors/84055750/eval" for 10.0.2.2 at 2014-04-02 17:59:52 +0000 + + +Started GET "/admin/cities/1" for 10.0.2.2 at 2014-04-02 18:00:52 +0000 +Processing by Admin::CitiesController#show as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Admin::State Load (2.0ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (2.2ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/form/show.html.haml within layouts/carnival/admin (84.4ms) + Carnival::AdminUserNotification Load (1.5ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (2.1ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (8.9ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.0ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 648ms (Views: 478.9ms | ActiveRecord: 12.2ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:54 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:54 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:54 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:55 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:55 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:55 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:55 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:55 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:56 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:56 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:56 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:00:56 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:00:57 +0000 + + +Started GET "/admin/cities/1edit" for 10.0.2.2 at 2014-04-02 18:01:02 +0000 +Processing by Admin::CitiesController#show as HTML + Parameters: {"id"=>"1edit"} + Carnival::AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.5ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1edit"]] + Admin::State Load (1.9ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (2.2ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/form/show.html.haml within layouts/carnival/admin (83.7ms) + Carnival::AdminUserNotification Load (2.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.7ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.4ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (15.8ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.3ms) +Completed 200 OK in 669ms (Views: 535.4ms | ActiveRecord: 12.0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:03 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:03 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:03 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:04 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:04 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:04 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:04 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:04 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:05 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:05 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:05 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:01:05 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:01:06 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.5ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (68.3ms) +Completed 500 Internal Server Error in 326ms + +ActionController::UrlGenerationError - No route matches {:action=>"edit", :controller=>"admin/cities"}: + actionpack (4.0.4) lib/action_dispatch/journey/formatter.rb:39:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:595:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:625:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:661:in `url_for' + actionpack (4.0.4) lib/action_dispatch/routing/url_for.rb:155:in `url_for' + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `rescue in block (2 levels) in edit' + /project/app/controllers/carnival/base_admin_controller.rb:72:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/86082330/variables" for 10.0.2.2 at 2014-04-02 18:01:07 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:01:38 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (38.2ms) +Completed 500 Internal Server Error in 397ms + +ActionView::MissingTemplate - Missing template admin/cities/edit, carnival/base_admin/edit, inherited_resources/base/edit, application/edit with {:locale=>[:"pt-BR"], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :haml]}. Searched in: + * "/project/test/dummy/app/views" + * "/project/app/views" + * "/home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/devise-3.2.4/app/views" +: + actionpack (4.0.4) lib/action_view/path_set.rb:46:in `find' + actionpack (4.0.4) lib/action_view/lookup_context.rb:122:in `find' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:35:in `determine_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:8:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:73:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/90998740/variables" for 10.0.2.2 at 2014-04-02 18:01:39 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:01:54 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (3.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (56.7ms) +Completed 500 Internal Server Error in 421ms + +ActionController::UrlGenerationError - No route matches {:action=>"edit", :controller=>"admin/cities"}: + actionpack (4.0.4) lib/action_dispatch/journey/formatter.rb:39:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:595:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:625:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:661:in `url_for' + actionpack (4.0.4) lib/action_dispatch/routing/url_for.rb:155:in `url_for' + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `rescue in block (2 levels) in edit' + /project/app/controllers/carnival/base_admin_controller.rb:72:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/91117530/variables" for 10.0.2.2 at 2014-04-02 18:01:55 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:03:14 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (51.6ms) +Completed 500 Internal Server Error in 263ms + +ActionController::UrlGenerationError - No route matches {:action=>"edit", :controller=>"admin/cities"}: + actionpack (4.0.4) lib/action_dispatch/journey/formatter.rb:39:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:595:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:625:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:661:in `url_for' + actionpack (4.0.4) lib/action_dispatch/routing/url_for.rb:155:in `url_for' + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/89264240/variables" for 10.0.2.2 at 2014-04-02 18:03:15 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:03:27 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (3.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (45.7ms) +Completed 500 Internal Server Error in 289ms + +RuntimeError - : + /project/app/presenters/carnival/base_admin_presenter.rb:97:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/78150400/variables" for 10.0.2.2 at 2014-04-02 18:03:28 +0000 + + +Started POST "/__better_errors/78150400/eval" for 10.0.2.2 at 2014-04-02 18:03:36 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:03:48 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.6ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (52.0ms) +Completed 500 Internal Server Error in 295ms + +RuntimeError - : + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_84661220' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/83848980/variables" for 10.0.2.2 at 2014-04-02 18:03:49 +0000 + + +Started POST "/__better_errors/83848980/eval" for 10.0.2.2 at 2014-04-02 18:04:21 +0000 + + +Started POST "/__better_errors/83848980/eval" for 10.0.2.2 at 2014-04-02 18:04:32 +0000 + + +Started POST "/__better_errors/83848980/eval" for 10.0.2.2 at 2014-04-02 18:08:00 +0000 + + +Started POST "/__better_errors/83848980/eval" for 10.0.2.2 at 2014-04-02 18:08:02 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:09:41 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (47.3ms) +Completed 500 Internal Server Error in 136ms + +RuntimeError - : + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_81648400' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/86978530/variables" for 10.0.2.2 at 2014-04-02 18:09:42 +0000 + + +Started POST "/__better_errors/86978530/eval" for 10.0.2.2 at 2014-04-02 18:09:45 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:10:00 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/_form.html.haml (2.8ms) + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (54.2ms) +Completed 500 Internal Server Error in 299ms + +SyntaxError - /project/app/views/carnival/shared/form/_form.html.haml:1: syntax error, unexpected ',', expecting ')' +...simple_form_for(model_object, , :url => url, {:html => {:cla... +... ^ +/project/app/views/carnival/shared/form/_form.html.haml:1: syntax error, unexpected ')', expecting tCOLON2 or '[' or '.' +... 'formframe container-fluid'}}) do |f| +... ^ +/project/app/views/carnival/shared/form/_form.html.haml:15: syntax error, unexpected keyword_ensure, expecting $end: + /project/app/views/carnival/shared/form/_form.html.haml:1:in `' + actionpack (4.0.4) lib/action_view/template.rb:299:in `compile' + actionpack (4.0.4) lib/action_view/template.rb:248:in `block in compile!' + <internal:prelude>:10:in `synchronize' + actionpack (4.0.4) lib/action_view/template.rb:236:in `compile!' + actionpack (4.0.4) lib/action_view/template.rb:142:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:278:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionpack (4.0.4) lib/action_view/helpers/rendering_helper.rb:27:in `render' + haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' + haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml' + haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_81648400' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/84141010/variables" for 10.0.2.2 at 2014-04-02 18:10:01 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:11:06 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (4.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/_form.html.haml (5.4ms) + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (63.1ms) +Completed 500 Internal Server Error in 194ms + +SyntaxError - /project/app/views/carnival/shared/form/_form.html.haml:1: syntax error, unexpected ')', expecting tASSOC +... 'formframe container-fluid'}}) do |f| +... ^ +/project/app/views/carnival/shared/form/_form.html.haml:15: syntax error, unexpected keyword_ensure, expecting $end: + /project/app/views/carnival/shared/form/_form.html.haml:1:in `' + actionpack (4.0.4) lib/action_view/template.rb:299:in `compile' + actionpack (4.0.4) lib/action_view/template.rb:248:in `block in compile!' + <internal:prelude>:10:in `synchronize' + actionpack (4.0.4) lib/action_view/template.rb:236:in `compile!' + actionpack (4.0.4) lib/action_view/template.rb:142:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/partial_renderer.rb:278:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionpack (4.0.4) lib/action_view/helpers/rendering_helper.rb:27:in `render' + haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml' + haml (4.0.5) lib/haml/helpers.rb:89:in `non_haml' + haml (4.0.5) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml' + /project/app/views/carnival/shared/form/edit.html.haml:6:in `__project_app_views_carnival_shared_form_edit_html_haml__203526006_81648400' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:75:in `block (2 levels) in edit' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:25:in `edit' + /project/app/controllers/carnival/base_admin_controller.rb:69:in `edit' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/84561050/variables" for 10.0.2.2 at 2014-04-02 18:11:07 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:11:40 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (4.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.1ms) + Admin::State Load (1.6ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::State Load (1.5ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (74.6ms) + Admin::Country Load (2.0ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.8ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (45.8ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (286.5ms) + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (328.7ms) + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.1ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (2.1ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (48.2ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (43.5ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms) +Completed 200 OK in 838ms (Views: 809.4ms | ActiveRecord: 22.9ms) + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:41 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:41 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:42 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:42 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:42 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:42 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:42 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:43 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:43 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:43 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:43 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:11:44 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:44 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:44 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:44 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:44 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:45 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:45 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:45 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:45 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:45 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:46 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:46 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:11:46 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:11:46 +0000 + + +Started GET "/assets/carnival/bg_button.png" for 10.0.2.2 at 2014-04-02 18:11:47 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:11:47 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:11:47 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:11:47 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:11:48 +0000 + + +Started GET "/assets/carnival/chosen-sprite.png" for 10.0.2.2 at 2014-04-02 18:11:48 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:11:48 +0000 + + +Started PATCH "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:11:50 +0000 + +ActionController::RoutingError (No route matches [PATCH] "/admin/cities/1/edit"): + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.9ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (59.7ms) + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:12:02 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.5ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/_field.html.haml (25.1ms) + Admin::State Load (1.7ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::State Load (1.5ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (9.8ms) + Admin::Country Load (1.7ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.9ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (9.6ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (178.1ms) + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (226.8ms) + Carnival::AdminUserNotification Load (1.3ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.1ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (8.1ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (62.1ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms) +Completed 200 OK in 694ms (Views: 675.5ms | ActiveRecord: 13.3ms) + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:03 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:03 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:03 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:03 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:04 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:04 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:04 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:04 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:04 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:05 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:05 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:05 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:05 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:06 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:06 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:06 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:06 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:06 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:07 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:07 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:07 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:07 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:08 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:08 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:12:08 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:12:08 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:12:09 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:12:09 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:12:09 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:12:09 +0000 + + +Started PATCH "/admin/cities/1" for 10.0.2.2 at 2014-04-02 18:12:43 +0000 +Processing by Admin::CitiesController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Os48KGGqlReFjY06Yk8Bc7GDJuAgP27n7RckYuTOfT8=", "admin_city"=>{"name"=>"São Paulo", "state_id"=>"1", "country_id"=>"1"}, "commit"=>"Atualizar", "id"=>"1"} + Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.6ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] +Unpermitted parameters: utf8, _method, authenticity_token, commit, id +  (0.2ms) begin transaction +  (0.2ms) commit transaction +Redirected to http://localhost:3013/admin/cities/1 +Completed 302 Found in 125ms (ActiveRecord: 3.7ms) + + +Started GET "/admin/cities/1" for 10.0.2.2 at 2014-04-02 18:12:43 +0000 +Processing by Admin::CitiesController#show as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (3.1ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.8ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Admin::State Load (1.7ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.9ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/form/show.html.haml within layouts/carnival/admin (58.3ms) + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.8ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (7.8ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.1ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms) +Completed 200 OK in 575ms (Views: 420.3ms | ActiveRecord: 12.7ms) + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:45 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:45 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:45 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:46 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:46 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:46 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:47 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:47 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:47 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:47 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:48 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:12:48 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:48 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:48 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:48 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:49 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:49 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:49 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:49 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:50 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:50 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:50 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:50 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:12:50 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:12:51 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:12:51 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:12:52 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:12:52 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:12:52 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:12:53 +0000 + + +Started GET "/admin/cities/1/edit" for 10.0.2.2 at 2014-04-02 18:13:40 +0000 +Processing by Admin::CitiesController#edit as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.4ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Rendered /project/app/views/carnival/shared/form/_field.html.haml (19.9ms) + Admin::State Load (1.4ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::State Load (1.6ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (9.5ms) + Admin::Country Load (1.5ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.4ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (9.3ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (159.2ms) + Rendered /project/app/views/carnival/shared/form/edit.html.haml within layouts/carnival/admin (202.9ms) + Carnival::AdminUserNotification Load (1.3ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.5ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (8.1ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (8.0ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 581ms (Views: 563.7ms | ActiveRecord: 12.5ms) + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:41 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:41 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:41 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:42 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:42 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:42 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:42 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:42 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:43 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:43 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:43 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:43 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:44 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:44 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:44 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:44 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:44 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:45 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:45 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:45 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:45 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:46 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:46 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:46 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:13:46 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:13:47 +0000 + + +Started GET "/assets/carnival/bg_button.png" for 10.0.2.2 at 2014-04-02 18:13:47 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:13:47 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:13:48 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:13:48 +0000 + + +Started GET "/assets/carnival/chosen-sprite.png" for 10.0.2.2 at 2014-04-02 18:13:48 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:13:48 +0000 + + +Started PATCH "/admin/cities/1" for 10.0.2.2 at 2014-04-02 18:13:49 +0000 +Processing by Admin::CitiesController#update as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Os48KGGqlReFjY06Yk8Bc7GDJuAgP27n7RckYuTOfT8=", "admin_city"=>{"name"=>"São Paulo", "state_id"=>"1", "country_id"=>"1"}, "commit"=>"Atualizar", "id"=>"1"} + Carnival::AdminUser Load (2.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.9ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] +Unpermitted parameters: utf8, _method, authenticity_token, commit, id +  (0.1ms) begin transaction +  (0.1ms) commit transaction +Redirected to http://localhost:3013/admin/cities/1 +Completed 302 Found in 133ms (ActiveRecord: 4.1ms) + + +Started GET "/admin/cities/1" for 10.0.2.2 at 2014-04-02 18:13:49 +0000 +Processing by Admin::CitiesController#show as HTML + Parameters: {"id"=>"1"} + Carnival::AdminUser Load (2.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (1.6ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "1"]] + Admin::State Load (2.2ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.6ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/form/show.html.haml within layouts/carnival/admin (66.5ms) + Carnival::AdminUserNotification Load (2.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.6ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (8.6ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (10.0ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 604ms (Views: 447.2ms | ActiveRecord: 11.2ms) + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:51 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:51 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:51 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:51 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:52 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:52 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:52 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:52 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:53 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:53 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:53 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:13:53 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:53 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:54 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:54 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:54 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:54 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:54 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:55 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:55 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:55 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:55 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:56 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:13:56 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:13:56 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:13:56 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:13:57 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:13:57 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:13:57 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:13:58 +0000 + + +Started GET "/admin/cities" for 10.0.2.2 at 2014-04-02 18:15:07 +0000 +Processing by Admin::CitiesController#index as HTML + Carnival::AdminUser Load (4.2ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (1.1ms) + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (1.1ms) + Admin::State Load (2.2ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (6.2ms) + Admin::Country Load (1.6ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/_advanced_search_field.html.haml (3.9ms) + Rendered /project/app/views/carnival/shared/_advanced_search.html.haml (227.0ms) +  (1.6ms) SELECT COUNT(*) FROM "cities" +DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: cities, countries) that are referenced in a string SQL snippet. For example: + + Post.includes(:comments).where("comments.title = 'foo'") + +Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string: + + Post.includes(:comments).where("comments.title = 'foo'").references(:comments) + +If you don't rely on implicit join references you can disable the feature entirely by setting `config.active_record.disable_implicit_join_references = true`. (called from block in scopes_counters at /project/app/presenters/carnival/base_admin_presenter.rb:55) +  (2.3ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code = 'BR') +DEPRECATION WARNING: It looks like you are eager loading table(s) (one of: cities, countries) that are referenced in a string SQL snippet. For example: + + Post.includes(:comments).where("comments.title = 'foo'") + +Currently, Active Record recognizes the table in the string, and knows to JOIN the comments table to the query, rather than loading comments in a separate query. However, doing this without writing a full-blown SQL parser is inherently flawed. Since we don't want to write an SQL parser, we are removing this functionality. From now on, you must explicitly tell Active Record when you are referencing a table from a string: + + Post.includes(:comments).where("comments.title = 'foo'").references(:comments) + +If you don't rely on implicit join references you can disable the feature entirely by setting `config.active_record.disable_implicit_join_references = true`. (called from block in scopes_counters at /project/app/presenters/carnival/base_admin_presenter.rb:55) +  (1.6ms) SELECT COUNT(DISTINCT "cities"."id") FROM "cities" LEFT OUTER JOIN "countries" ON "countries"."id" = "cities"."country_id" WHERE (countries.code <> 'BR') + Rendered /project/app/views/carnival/shared/_scope.html.haml (25.9ms) + Rendered /project/app/views/carnival/shared/_action_default.html.haml (0.2ms) + Rendered /project/app/views/carnival/shared/_period_filter.html.haml (41.3ms) + Rendered /project/app/views/carnival/index.html.haml within layouts/carnival/admin (482.0ms) + Carnival::AdminUserNotification Load (1.3ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (8.6ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.0ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 1005ms (Views: 860.4ms | ActiveRecord: 16.2ms) + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:09 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:09 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:09 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:10 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:10 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:10 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:10 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:10 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:11 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:11 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:11 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:15:11 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:12 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:12 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:12 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:12 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:12 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:13 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:13 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:13 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:13 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:14 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:14 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:14 +0000 + + +Started GET "/assets/carnival/data_tables_functions.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:14 +0000 + + +Started GET "/assets/carnival/advanced_search.js?body=1" for 10.0.2.2 at 2014-04-02 18:15:14 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:15:15 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:15:15 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:15:15 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:15:16 +0000 + + +Started GET "/assets/carnival/novo.png" for 10.0.2.2 at 2014-04-02 18:15:16 +0000 + + +Started GET "/assets/carnival/sprites-active.png" for 10.0.2.2 at 2014-04-02 18:15:16 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:15:17 +0000 + + +Started GET "/admin/cities.json?scope=all&from=2014-04-01&to=2014-04-30&sEcho=1&iColumns=7&sColumns=&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&mDataProp_1=1&mDataProp_2=2&mDataProp_3=3&mDataProp_4=4&mDataProp_5=5&mDataProp_6=6&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&iSortCol_0=0&sSortDir_0=asc&iSortingCols=1&bSortable_0=false&bSortable_1=false&bSortable_2=false&bSortable_3=false&bSortable_4=false&bSortable_5=false&bSortable_6=false&_=1396462512381" for 10.0.2.2 at 2014-04-02 18:15:17 +0000 +Processing by Admin::CitiesController#index as JSON + Parameters: {"scope"=>"all", "from"=>"2014-04-01", "to"=>"2014-04-30", "sEcho"=>"1", "iColumns"=>"7", "sColumns"=>"", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "mDataProp_1"=>"1", "mDataProp_2"=>"2", "mDataProp_3"=>"3", "mDataProp_4"=>"4", "mDataProp_5"=>"5", "mDataProp_6"=>"6", "sSearch"=>"", "bRegex"=>"false", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "sSearch_2"=>"", "bRegex_2"=>"false", "bSearchable_2"=>"true", "sSearch_3"=>"", "bRegex_3"=>"false", "bSearchable_3"=>"true", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "sSearch_5"=>"", "bRegex_5"=>"false", "bSearchable_5"=>"true", "sSearch_6"=>"", "bRegex_6"=>"false", "bSearchable_6"=>"true", "iSortCol_0"=>"0", "sSortDir_0"=>"asc", "iSortingCols"=>"1", "bSortable_0"=>"false", "bSortable_1"=>"false", "bSortable_2"=>"false", "bSortable_3"=>"false", "bSortable_4"=>"false", "bSortable_5"=>"false", "bSortable_6"=>"false", "_"=>"1396462512381"} + Carnival::AdminUser Load (1.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 +  (2.1ms) SELECT COUNT(*) FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59') + Admin::City Load (2.2ms) SELECT "cities".* FROM "cities" WHERE (cities.created_at between '2014-04-01 00:00:00' and '2014-04-30 23:59:59') ORDER BY cities.id asc LIMIT 50 OFFSET 0 +Completed 200 OK in 16ms (Views: 6.0ms | ActiveRecord: 6.1ms) + + +Started GET "/assets/carnival/search.png" for 10.0.2.2 at 2014-04-02 18:15:17 +0000 + + +Started GET "/assets/carnival/datatables-loading.gif" for 10.0.2.2 at 2014-04-02 18:15:17 +0000 + + +Started GET "/assets/carnival/images/ui-bg_flat_75_ffffff_40x100.png" for 10.0.2.2 at 2014-04-02 18:15:18 +0000 + + +Started GET "/assets/carnival/cal.png" for 10.0.2.2 at 2014-04-02 18:15:18 +0000 + + +Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:15:18 +0000 +Processing by Admin::CitiesController#new as HTML + Carnival::AdminUser Load (2.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/form/new.html.haml within layouts/carnival/admin (2.4ms) +Completed 500 Internal Server Error in 208ms + +SyntaxError - /project/app/views/carnival/shared/form/new.html.haml:8: syntax error, unexpected ')', expecting '}' +));}\n", 0, false);::Haml::Util... + ^ +/project/app/views/carnival/shared/form/new.html.haml:8: unterminated string meets end of file +/project/app/views/carnival/shared/form/new.html.haml:8: syntax error, unexpected $end, expecting '}': + /project/app/views/carnival/shared/form/new.html.haml:8:in `' + actionpack (4.0.4) lib/action_view/template.rb:299:in `compile' + actionpack (4.0.4) lib/action_view/template.rb:248:in `block in compile!' + <internal:prelude>:10:in `synchronize' + actionpack (4.0.4) lib/action_view/template.rb:236:in `compile!' + actionpack (4.0.4) lib/action_view/template.rb:142:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:61:in `rescue in block (2 levels) in new' + /project/app/controllers/carnival/base_admin_controller.rb:58:in `block (2 levels) in new' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:19:in `new' + /project/app/controllers/carnival/base_admin_controller.rb:55:in `new' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/88098840/variables" for 10.0.2.2 at 2014-04-02 18:15:19 +0000 + + +Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:16:07 +0000 +Processing by Admin::CitiesController#new as HTML + Carnival::AdminUser Load (4.8ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/form/new.html.haml within layouts/carnival/admin (56.4ms) +Completed 500 Internal Server Error in 301ms + +ActionController::UrlGenerationError - No route matches {:action=>"show", :controller=>"admin/cities", :id=>nil}: + actionpack (4.0.4) lib/action_dispatch/journey/formatter.rb:39:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:595:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:625:in `generate' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:661:in `url_for' + actionpack (4.0.4) lib/action_dispatch/routing/url_for.rb:155:in `url_for' + /project/app/presenters/carnival/base_admin_presenter.rb:100:in `model_path' + /project/app/views/carnival/shared/form/new.html.haml:7:in `__project_app_views_carnival_shared_form_new_html_haml___295805822_83450560' + actionpack (4.0.4) lib/action_view/template.rb:143:in `block in render' + activesupport (4.0.4) lib/active_support/notifications.rb:161:in `instrument' + actionpack (4.0.4) lib/action_view/template.rb:141:in `render' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:47:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/template_renderer.rb:17:in `render' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionpack (4.0.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:127:in `_render_template' + actionpack (4.0.4) lib/action_controller/metal/streaming.rb:219:in `_render_template' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:120:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:33:in `render_to_body' + actionpack (4.0.4) lib/action_controller/metal/renderers.rb:26:in `render_to_body' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:97:in `render' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' + activesupport (4.0.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:40:in `render' + wicked_pdf (0.9.10) lib/wicked_pdf/pdf_helper.rb:23:in `render_with_wicked_pdf' + /project/app/controllers/carnival/base_admin_controller.rb:61:in `rescue in block (2 levels) in new' + /project/app/controllers/carnival/base_admin_controller.rb:58:in `block (2 levels) in new' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:231:in `default_render' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:161:in `to_html' + responders (1.0.0) lib/responders/flash_responder.rb:104:in `to_html' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:154:in `respond' + actionpack (4.0.4) lib/action_controller/metal/responder.rb:147:in `call' + actionpack (4.0.4) lib/action_controller/metal/mime_responds.rb:330:in `respond_with' + inherited_resources (1.4.1) lib/inherited_resources/actions.rb:19:in `new' + /project/app/controllers/carnival/base_admin_controller.rb:55:in `new' + actionpack (4.0.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:189:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (4.0.4) lib/active_support/callbacks.rb:393:in `_run__390740725__process_action__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `block in instrument' + activesupport (4.0.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.0.4) lib/active_support/notifications.rb:159:in `instrument' + actionpack (4.0.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.0.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.0.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.0.4) lib/abstract_controller/base.rb:136:in `process' + actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process' + actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call' + actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call' + actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call' + bullet (4.6.0) lib/bullet/rack.rb:13:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34: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.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241: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.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call' + activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call' + activerecord (4.0.4) lib/active_record/migration.rb:373:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__453549410__call__callbacks' + activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks' + actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' + better_errors (0.9.0) lib/better_errors/middleware.rb:84:in `protected_app_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:79:in `better_errors_call' + better_errors (0.9.0) lib/better_errors/middleware.rb:56:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + +Started POST "/__better_errors/81597740/variables" for 10.0.2.2 at 2014-04-02 18:16:08 +0000 + + +Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:16:27 +0000 +Processing by Admin::CitiesController#new as HTML + Carnival::AdminUser Load (2.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/form/_field.html.haml (21.2ms) + Admin::State Load (2.1ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (6.1ms) + Admin::Country Load (2.2ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (7.4ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (153.5ms) + Rendered /project/app/views/carnival/shared/form/new.html.haml within layouts/carnival/admin (199.6ms) + Carnival::AdminUserNotification Load (2.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.9ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (14.1ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (12.3ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 749ms (Views: 617.7ms | ActiveRecord: 14.0ms) + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:28 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:29 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:29 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:29 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:29 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:29 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:30 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:30 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:30 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:30 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:30 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:31 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:31 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:31 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:31 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:32 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:32 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:32 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:32 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:32 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:33 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:33 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:33 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:16:33 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:16:34 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:16:34 +0000 + + +Started GET "/assets/carnival/bg_button.png" for 10.0.2.2 at 2014-04-02 18:16:34 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:16:35 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:16:35 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:16:35 +0000 + + +Started GET "/assets/carnival/chosen-sprite.png" for 10.0.2.2 at 2014-04-02 18:16:35 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:16:36 +0000 + + +Started POST "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:16:44 +0000 + +ActionController::RoutingError (No route matches [POST] "/admin/cities/new"): + actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.0.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.0.4) 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.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call' + rack (1.5.2) lib/rack/lock.rb:17:in `call' + actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call' + rack (1.5.2) lib/rack/sendfile.rb:112:in `call' + railties (4.0.4) lib/rails/engine.rb:511:in `call' + railties (4.0.4) lib/rails/application.rb:97: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' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run' + /home/vagrant/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' + + + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (11.7ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.2ms) + Rendered /home/vagrant/.rvm/gems/ruby-1.9.3-p484/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (71.5ms) + + +Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:16:56 +0000 +Processing by Admin::CitiesController#new as HTML + Carnival::AdminUser Load (2.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/form/_field.html.haml (20.7ms) + Admin::State Load (1.8ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (5.9ms) + Admin::Country Load (1.5ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (5.2ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (157.4ms) + Rendered /project/app/views/carnival/shared/form/new.html.haml within layouts/carnival/admin (204.3ms) + Carnival::AdminUserNotification Load (1.5ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.1ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.7ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.8ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (9.3ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 712ms (Views: 577.0ms | ActiveRecord: 9.2ms) + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:58 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:58 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:58 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:58 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:59 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:59 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:59 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:16:59 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:00 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:00 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:00 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:00 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:00 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:01 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:01 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:01 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:01 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:02 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:02 +0000 + + +Started GET "/admin/cities/new" for 10.0.2.2 at 2014-04-02 18:17:02 +0000 +Processing by Admin::CitiesController#new as HTML + Carnival::AdminUser Load (1.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Rendered /project/app/views/carnival/shared/form/_field.html.haml (18.3ms) + Admin::State Load (1.7ms) SELECT "states".* FROM "states" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (6.8ms) + Admin::Country Load (1.4ms) SELECT "countries".* FROM "countries" + Rendered /project/app/views/carnival/shared/form/_field.html.haml (5.0ms) +DEPRECATION WARNING: :disable_with option is deprecated and will be removed from Rails 4.1. Use 'data: { disable_with: 'Text' }' instead. (called from block in __project_app_views_carnival_shared_form__form_html_haml__9823962__624562068 at /project/app/views/carnival/shared/form/_form.html.haml:13) + Rendered /project/app/views/carnival/shared/form/_form.html.haml (149.4ms) + Rendered /project/app/views/carnival/shared/form/new.html.haml within layouts/carnival/admin (189.3ms) + Carnival::AdminUserNotification Load (1.5ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.4ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (7.1ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (7.3ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.1ms) +Completed 200 OK in 691ms (Views: 572.0ms | ActiveRecord: 7.6ms) + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:17:03 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:03 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:04 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:04 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:04 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:04 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:04 +0000 + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:05 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:05 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:05 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:05 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:06 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:06 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:06 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:07 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:07 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:07 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:08 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:08 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:08 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:08 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:09 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:09 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:09 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:10 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:10 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:17:10 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:17:11 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:17:11 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:17:12 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:17:12 +0000 + + +Started GET "/assets/carnival/bg_button.png" for 10.0.2.2 at 2014-04-02 18:17:12 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:17:13 +0000 + + +Started GET "/assets/carnival/chosen-sprite.png" for 10.0.2.2 at 2014-04-02 18:17:13 +0000 + + +Started POST "/admin/cities" for 10.0.2.2 at 2014-04-02 18:17:21 +0000 +Processing by Admin::CitiesController#create as HTML + Parameters: {"utf8"=>"✓", "authenticity_token"=>"Os48KGGqlReFjY06Yk8Bc7GDJuAgP27n7RckYuTOfT8=", "admin_city"=>{"name"=>"Teste", "state_id"=>"1", "country_id"=>"1"}, "commit"=>"Criar"} + Carnival::AdminUser Load (1.9ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 +Unpermitted parameters: utf8, authenticity_token, commit +  (0.1ms) begin transaction + SQL (8.8ms) INSERT INTO "cities" ("country_id", "created_at", "name", "state_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["country_id", 1], ["created_at", Wed, 02 Apr 2014 18:17:21 UTC +00:00], ["name", "Teste"], ["state_id", 1], ["updated_at", Wed, 02 Apr 2014 18:17:21 UTC +00:00]] +  (3.1ms) commit transaction +Redirected to http://localhost:3013/admin/cities/2 +Completed 302 Found in 146ms (ActiveRecord: 13.9ms) + + +Started GET "/admin/cities/2" for 10.0.2.2 at 2014-04-02 18:17:21 +0000 +Processing by Admin::CitiesController#show as HTML + Parameters: {"id"=>"2"} + Carnival::AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 ORDER BY "admin_users"."id" ASC LIMIT 1 + Admin::City Load (2.7ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", "2"]] + Admin::State Load (2.1ms) SELECT "states".* FROM "states" WHERE "states"."id" = ? LIMIT 1 [["id", 1]] + Admin::Country Load (1.6ms) SELECT "countries".* FROM "countries" WHERE "countries"."id" = ? LIMIT 1 [["id", 1]] + Rendered /project/app/views/carnival/shared/form/show.html.haml within layouts/carnival/admin (61.3ms) + Carnival::AdminUserNotification Load (2.2ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + CACHE (0.0ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? AND "admin_user_notifications"."read" = 'f' [["admin_user_id", 1]] + Carnival::AdminUserNotification Load (1.7ms) SELECT "admin_user_notifications".* FROM "admin_user_notifications" WHERE "admin_user_notifications"."admin_user_id" = ? ORDER BY created_at desc [["admin_user_id", 1]] + Rendered /project/app/views/layouts/carnival/_notifications_list.html.haml (9.9ms) + Rendered /project/app/views/layouts/carnival/_menu.html.haml (11.9ms) + Rendered /project/app/views/carnival/shared/_application_popup_partial.html.haml (0.2ms) +Completed 200 OK in 613ms (Views: 489.4ms | ActiveRecord: 12.4ms) + + +Started GET "/assets/carnival/vizir-grid.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:22 +0000 + + +Started GET "/assets/carnival/jquery.noty.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:22 +0000 + + +Started GET "/assets/carnival/chosen.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:23 +0000 + + +Started GET "/assets/carnival/noty_theme_default.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:23 +0000 + + +Started GET "/assets/carnival/datatable.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:23 +0000 + + +Started GET "/assets/carnival/admin.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:23 +0000 + + +Started GET "/assets/carnival/colorbox.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:24 +0000 + + +Started GET "/assets/carnival/formframe.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:24 +0000 + + +Started GET "/assets/carnival/main.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:24 +0000 + + +Started GET "/assets/carnival/jquery-ui-1.8.11.custom.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:24 +0000 + + +Started GET "/assets/carnival/perfect-scrollbar-0.4.6.min.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:24 +0000 + + +Started GET "/assets/carnival/jquery.fancybox.css?body=1" for 10.0.2.2 at 2014-04-02 18:17:25 +0000 + + +Started GET "/assets/jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:25 +0000 + + +Started GET "/assets/jquery_ujs.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:25 +0000 + + +Started GET "/assets/carnival/external/jquery.dataTables.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:25 +0000 + + +Started GET "/assets/carnival/external/jquery.noty.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:25 +0000 + + +Started GET "/assets/carnival/external/jquery.colorbox-min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:26 +0000 + + +Started GET "/assets/carnival/external/jquery-ui-1.9.1.custom.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:26 +0000 + + +Started GET "/assets/carnival/external/chosen.jquery.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:26 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:26 +0000 + + +Started GET "/assets/carnival/external/perfect-scrollbar-0.4.6.with-mousewheel.min.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:27 +0000 + + +Started GET "/assets/carnival/external/jquery.fancybox.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:27 +0000 + + +Started GET "/assets/carnival/vizir_admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:27 +0000 + + +Started GET "/assets/carnival/admin.js?body=1" for 10.0.2.2 at 2014-04-02 18:17:27 +0000 + + +Started GET "/assets/carnival/avatar.png" for 10.0.2.2 at 2014-04-02 18:17:27 +0000 + + +Started GET "/assets/carnival/header-bg.png" for 10.0.2.2 at 2014-04-02 18:17:28 +0000 + + +Started GET "/assets/carnival/overlay.png" for 10.0.2.2 at 2014-04-02 18:17:28 +0000 + + +Started GET "/assets/carnival/fonts/opensans-regular-webfont.woff" for 10.0.2.2 at 2014-04-02 18:17:28 +0000 + + +Started GET "/assets/carnival/sprites.png" for 10.0.2.2 at 2014-04-02 18:17:29 +0000 + + +Started GET "/assets/carnival/voltar.png" for 10.0.2.2 at 2014-04-02 18:17:29 +0000